Skip to content

Commit 6004d7c

Browse files
bug fix, locales not showing up in the spinner in ShareActivity [issue commons-app#1793]
1 parent 12a83da commit 6004d7c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/src/main/res/layout/row_item_description.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
android:id="@+id/spinner_description_languages"
1111
android:layout_width="0dp"
1212
android:layout_height="wrap_content"
13-
android:layout_weight="3"
13+
android:layout_gravity="center_vertical"
14+
android:layout_weight="4"
1415
android:spinnerMode="dialog"></android.support.v7.widget.AppCompatSpinner>
1516

1617
<android.support.design.widget.TextInputLayout
1718
android:layout_width="0dp"
1819
android:layout_height="wrap_content"
19-
android:layout_weight="7">
20+
android:layout_weight="6">
2021

2122
<EditText
2223
android:id="@+id/et_description_text"

app/src/main/res/layout/row_item_languages_spinner.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
android:id="@+id/ll_container_description_language"
99
android:orientation="vertical">
1010
<TextView
11+
android:textAlignment="center"
1112
android:id="@+id/tv_language"
1213
android:layout_width="match_parent"
1314
android:layout_height="wrap_content"

0 commit comments

Comments
 (0)