mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Feature/bug fix#1793 (#1802)
* bug fix, locales not showing up in the spinner in ShareActivity [issue #1793] * removed extra padding from the languages edit text in the spinner * reduced weight percentage of spinner to 30% and increased that of the descriptions in row_item_descriptions to 70%
This commit is contained in:
parent
61888f7456
commit
3cee4bbe3b
2 changed files with 10 additions and 4 deletions
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="horizontal"
|
||||
android:weightSum="10">
|
||||
|
||||
|
|
@ -10,7 +11,9 @@
|
|||
android:id="@+id/spinner_description_languages"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="3"
|
||||
tools:listitem="@layout/row_item_languages_spinner"
|
||||
android:spinnerMode="dialog"></android.support.v7.widget.AppCompatSpinner>
|
||||
|
||||
<android.support.design.widget.TextInputLayout
|
||||
|
|
|
|||
|
|
@ -2,20 +2,23 @@
|
|||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/ll_container_description_language"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:id="@+id/ll_container_description_language"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/tv_language"
|
||||
style="@style/Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dp"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingLeft="4dp"
|
||||
android:paddingRight="4dp"
|
||||
android:imeOptions="flagNoExtractUi"
|
||||
android:maxLines="1"
|
||||
style="@style/Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem"
|
||||
android:singleLine="true"
|
||||
android:textAlignment="center"
|
||||
tools:text="en"
|
||||
/>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue