mirror of
https://github.com/sismics/docs.git
synced 2026-02-19 18:48:49 +00:00
Android: language selection
This commit is contained in:
15
docs-android/app/src/main/res/layout/language_list_item.xml
Normal file
15
docs-android/app/src/main/res/layout/language_list_item.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/languageTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/fra"
|
||||
android:drawableStart="@drawable/fra"
|
||||
android:text="French"
|
||||
android:drawablePadding="8dp"
|
||||
android:padding="12dp"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="16sp"
|
||||
android:textColor="#666"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"/>
|
||||
@@ -71,6 +71,9 @@
|
||||
<string name="pref_clear_history_summary">Wipe the recent search suggestions</string>
|
||||
<string name="pref_clear_history_success">Search history cleared</string>
|
||||
<string name="pref_cache_size">Cache size</string>
|
||||
<string name="language_french">French</string>
|
||||
<string name="language_english">English</string>
|
||||
<string name="language_japanese">Japanese</string>
|
||||
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user