1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-23 06:13:04 +00:00

Improve restore activity a little, not perfect but better

This commit is contained in:
Loic Blot
2015-11-23 23:28:17 +01:00
parent 3895b8cf0b
commit c132837aac
13 changed files with 120 additions and 43 deletions
+1 -2
View File
@@ -7,7 +7,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="20dp"
android:textSize="18sp"
/>
android:textSize="18sp" />
</RelativeLayout>
+1 -3
View File
@@ -7,7 +7,5 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="20dp"
android:textSize="18sp"
/>
android:textSize="18sp" />
</RelativeLayout>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/recovery_phone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="20dp"
android:textSize="18sp" />
</RelativeLayout>
@@ -34,6 +34,6 @@
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:drawSelectorOnTop="false" />
android:drawSelectorOnTop="true" />
</LinearLayout>
@@ -27,9 +27,11 @@
<android.support.v4.widget.SwipeRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/contactlist_swipe_container"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/contactlist_swipe_container"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
tools:context=".activities.remote_account.ContactListActivity">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
@@ -54,6 +56,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/contact_spinner"
android:listSelector="@android:color/holo_blue_light"
/>
<TextView
@@ -73,15 +76,21 @@
android:id="@+id/subtitle_contact_phones"
android:autoText="false"
android:paddingLeft="20dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Medium Text"
android:id="@+id/contact_phonelist"
android:autoText="false"
android:paddingLeft="40dp"/>
</LinearLayout>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<ListView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/contact_phonelistView"
android:layout_gravity="center_horizontal"
android:drawSelectorOnTop="true"/>
</LinearLayout>
</LinearLayout>
<ProgressBar
style="?android:attr/progressBarStyleLarge"
android:layout_width="match_parent"
@@ -0,0 +1,8 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="fr.unix_experience.owncloud_sms.activities.remote_account.ContactRestoreActionsActivity">
<item android:id="@+id/action_settings"
android:title="@string/action_settings"
android:orderInCategory="100"
android:showAsAction="never"/>
</menu>
+1 -1
View File
@@ -158,5 +158,5 @@
<string name="err_fetch_phonelist">Přijat neplatný seznam telefoních čísel ze serveru.</string>
<string name="err_proto_v2">Server nepodporuje tuto funkci. Zajistěte verzi na serveru alespoň 1.6.</string>
<string name="contactinfos_title">Informace kontaktu</string>
<string name="subtitle_contact_phones">> Telefony kontaktu</string>
<string name="subtitle_contact_phones">- Telefony kontaktu</string>
</resources>
+1 -1
View File
@@ -162,7 +162,7 @@ Contributors and issue\'s reporters</string>
<string name="err_proto_v2">Server doesn\'t support this feature. Ensure server version is at least 1.6.</string>
<string name="contactinfos_title">Contact informations</string>
<string name="choose_account">Choose account</string>
<string name="subtitle_contact_phones">> Contact phones</string>
<string name="subtitle_contact_phones">- Contact phones</string>
<string name="pref_title_bulk_messages">Max messages to send per sync</string>
<string name="contactinfos_list">Contact list</string>
+1 -1
View File
@@ -140,7 +140,7 @@ Les contributeurs et rapporteurs de bugs</string>
<string name="err_sync_http_request_parse_resp">Erreur #15: Impossible d\'interpréter la réponse du serveur</string>
<string name="err_sync_http_request_httpexception">Erreur #12: Impossible de se connecter à l\'instance ownCloud</string>
<string name="err_sync_http_request_ioexception">Erreur #13: Impossible de se connecter à l\'instance ownCloud</string>
<string name="subtitle_contact_phones">> Numéros de téléphone associés</string>
<string name="subtitle_contact_phones">- Numéros de téléphone associés</string>
<string name="choose_account">Choisissez un compte</string>
<string name="ma_title_remote_account">Compte distant</string>
<string name="title_activity_select_account">Chosissez un compte</string>
+1 -1
View File
@@ -191,7 +191,7 @@ Contributors and issue\'s reporters</string>
<string name="err_fetch_phonelist">Invalid phonelist received from server.</string>
<string name="err_proto_v2">Server doesn\'t support this feature. Ensure server version is at least 1.6.</string>
<string name="contactinfos_title">Contact informations</string>
<string name="subtitle_contact_phones">> Contact phones</string>
<string name="subtitle_contact_phones">- Contact phones</string>
<string name="pref_title_bulk_messages">Max messages to send per sync</string>
<string name="contactinfos_list">Contact list</string>
</resources>