diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/fragment_translation.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/layout/item_translation_contributor.xml | 42 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_translation.xml b/app/src/main/res/layout/fragment_translation.xml new file mode 100644 index 00000000..69234bd3 --- /dev/null +++ b/app/src/main/res/layout/fragment_translation.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:id="@+id/recycler_view_translation_fragment" + tools:context=".Settings.TranslationFragment" />
\ No newline at end of file diff --git a/app/src/main/res/layout/item_translation_contributor.xml b/app/src/main/res/layout/item_translation_contributor.xml new file mode 100644 index 00000000..7054a892 --- /dev/null +++ b/app/src/main/res/layout/item_translation_contributor.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="16dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground"> + + <ImageView + android:id="@+id/country_flag_image_view_item_translation_contributor" + android:layout_width="40dp" + android:layout_height="40dp" + android:layout_gravity="center_vertical" /> + + <LinearLayout + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:orientation="vertical" + android:layout_gravity="center_vertical" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp"> + + <TextView + android:id="@+id/language_name_text_view_item_translation_contributor" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="?attr/font_12" + android:fontFamily="?attr/font_family" /> + + <TextView + android:id="@+id/contributor_names_text_view_item_translation_contributor" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" /> + + </LinearLayout> + +</LinearLayout>
\ No newline at end of file |