Added possibility to mark contact as favorite
This commit is contained in:
@@ -88,11 +88,38 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dp"
|
||||
android:orientation="horizontal" >
|
||||
<TextView
|
||||
android:id="@+id/FavoriteTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toStartOf="@id/Favorite"
|
||||
android:textSize="18sp"
|
||||
android:text="@string/favorite" >
|
||||
</TextView>
|
||||
<CheckBox
|
||||
android:id="@+id/Favorite"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_gravity="end"
|
||||
android:checked="false" >
|
||||
</CheckBox>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:orientation="horizontal" >
|
||||
<TextView
|
||||
android:id="@+id/AndroidTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toStartOf="@id/Android"
|
||||
android:textSize="18sp"
|
||||
android:text="@string/android" >
|
||||
@@ -102,6 +129,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_gravity="end"
|
||||
android:checked="false" >
|
||||
</CheckBox>
|
||||
|
||||
@@ -429,6 +429,7 @@
|
||||
<string name="contact_name">Nimi</string>
|
||||
<string name="sip_or_tel_uri">SIP tai tel URI</string>
|
||||
<string name="user_domain_or_number">käyttäjä@domain tai puhelinnumero</string>
|
||||
<string name="favorite">Suosikki</string>
|
||||
<string name="invalid_contact">Virheellinen yhteystiedon nimi \'%1$s\'</string>
|
||||
<string name="contact_already_exists">Yhteystieto \'%1$s\' on jo olemassa.</string>
|
||||
<string name="invalid_contact_uri">Virheellinen SIP URI \'%1$s\'</string>
|
||||
|
||||
@@ -399,6 +399,7 @@
|
||||
<string name="contact_name">Name</string>
|
||||
<string name="sip_or_tel_uri">SIP or tel URI</string>
|
||||
<string name="user_domain_or_number">user@domain or telephone number</string>
|
||||
<string name="favorite">Favorite</string>
|
||||
<string name="invalid_contact">Invalid contact name \'%1$s\'</string>
|
||||
<string name="contact_already_exists">Contact \'%1$s\' already exists.</string>
|
||||
<string name="invalid_contact_uri">Invalid SIP URI</string>
|
||||
|
||||
Reference in New Issue
Block a user