Archived
Added error handling on refresh. Fixed a bug which made callback to CategoryChooser be always called on dismiss, not only when a category was actually chosen.
This commit is contained in:
1 parent
8aa1911bcb
commit
8d589b088d
5 files changed
+28
-15
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ListView android:id="@+id/choose_category_list"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="20px"
|
||||
android:paddingRight="20px"
|
||||
android:paddingTop="3px"
|
||||
android:paddingBottom="3px">
|
||||
|
||||
<TextView android:id="@+id/choose_category_list_row_text"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:paddingLeft="20px"
|
||||
android:paddingRight="20px"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
android:textSize="20sp" />
|
||||
</FrameLayout>
|
||||
@@ -10,4 +10,5 @@
|
||||
<string name="menu_refresh">Oppdater</string>
|
||||
<string name="menu_categories">Kategorier</string>
|
||||
<string name="choose_category">Velg kategori</string>
|
||||
<string name="error_loading">Vent til oppdateringen fullfører</string>
|
||||
</resources>
|
||||
Reference in new issue
Block a user