Update views
This commit is contained in:
parent
d1607f4fd4
commit
14c1609d95
8 changed files with 17 additions and 16 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
|
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:maxLevel="0" android:drawable="@drawable/linphone_notification_icon" />
|
<item android:maxLevel="0" android:drawable="@drawable/linphone_notification_icon" />
|
||||||
<item android:maxLevel="1" android:drawable="@drawable/status_green" />
|
<item android:maxLevel="1" android:drawable="@drawable/linphone_notification_icon" />
|
||||||
<item android:maxLevel="2" android:drawable="@drawable/status_red" />
|
<item android:maxLevel="2" android:drawable="@drawable/linphone_notification_icon" />
|
||||||
<item android:maxLevel="3" android:drawable="@drawable/status_offline" />
|
<item android:maxLevel="3" android:drawable="@drawable/linphone_notification_icon" />
|
||||||
</level-list>
|
</level-list>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
android:id="@+id/top_bar"
|
android:id="@+id/top_bar"
|
||||||
android:background="@color/colorF"
|
android:background="@color/colorF"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="60dp"
|
android:layout_height="50dp"
|
||||||
android:visibility="visible"
|
android:visibility="visible"
|
||||||
android:layout_alignParentTop="true">
|
android:layout_alignParentTop="true">
|
||||||
|
|
||||||
|
@ -25,16 +25,17 @@
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/cancel"
|
android:id="@+id/cancel"
|
||||||
android:src="@drawable/dialer_back"
|
android:src="@drawable/dialer_back"
|
||||||
android:layout_width="wrap_content"
|
android:background="@drawable/toolbar_button"
|
||||||
|
android:layout_width="60dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:padding="15dp"
|
android:padding="12dp"
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
android:layout_alignParentRight="true"/>
|
android:layout_alignParentRight="true"/>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:src="@drawable/linphone_orange"
|
android:src="@drawable/linphone_logo_orange"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
android:id="@+id/status"
|
android:id="@+id/status"
|
||||||
android:name="org.linphone.StatusFragment"
|
android:name="org.linphone.StatusFragment"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="40dp"
|
android:layout_height="35dp"
|
||||||
tools:layout="@layout/status" />
|
tools:layout="@layout/status" />
|
||||||
|
|
||||||
<include layout="@layout/assistant_topbar" android:id="@+id/topbar" />
|
<include layout="@layout/assistant_topbar" android:id="@+id/topbar" />
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
android:layout_width="200dp"
|
android:layout_width="200dp"
|
||||||
android:layout_height="200dp"
|
android:layout_height="200dp"
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
android:src="@drawable/linphone_orange"/>
|
android:src="@drawable/linphone_logo_orange"/>
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
|
@ -10,9 +10,9 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="center"
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
android:src="@drawable/logo"/>
|
android:src="@drawable/linphone_logo_orange"/>
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
android:id="@+id/spinner"
|
android:id="@+id/spinner"
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
<account-authenticator
|
<account-authenticator
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:accountType="@string/sync_account_type"
|
android:accountType="@string/sync_account_type"
|
||||||
android:icon="@drawable/logo_linphone_57x57"
|
android:icon="@drawable/linphone_logo"
|
||||||
android:smallIcon="@drawable/logo_linphone_57x57"
|
android:smallIcon="@drawable/linphone_logo"
|
||||||
android:label="@string/app_name"/>
|
android:label="@string/app_name"/>
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<ContactsDataKind
|
<ContactsDataKind
|
||||||
android:mimeType="vnd.android.cursor.item/org.linphone.profile"
|
android:mimeType="vnd.android.cursor.item/org.linphone.profile"
|
||||||
android:icon="@drawable/logo_linphone_57x57"
|
android:icon="@drawable/linphone_logo"
|
||||||
android:summaryColumn="data2"
|
android:summaryColumn="data2"
|
||||||
android:detailColumn="data3"
|
android:detailColumn="data3"
|
||||||
android:detailSocialSummary="true"/>
|
android:detailSocialSummary="true"/>
|
||||||
|
|
|
@ -175,7 +175,7 @@ public class DialerFragment extends Fragment {
|
||||||
mCall.resetClickListener();
|
mCall.resetClickListener();
|
||||||
}
|
}
|
||||||
mAddContact.setEnabled(true);
|
mAddContact.setEnabled(true);
|
||||||
mAddContact.setImageResource(R.drawable.call_back);
|
mAddContact.setImageResource(R.drawable.call_alt_back);
|
||||||
mAddContact.setOnClickListener(cancelListener);
|
mAddContact.setOnClickListener(cancelListener);
|
||||||
} else {
|
} else {
|
||||||
mCall.setImageResource(R.drawable.call_audio_start);
|
mCall.setImageResource(R.drawable.call_audio_start);
|
||||||
|
|
Loading…
Reference in a new issue