-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
111 lines
4.0 KiB
XML
111 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout android:orientation="vertical"
|
|
android:paddingTop="16.0dip"
|
|
android:clipToPadding="false"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<TextView
|
|
android:textSize="14.0sp"
|
|
android:textColor="?text_primary"
|
|
android:id="@id/vkim_link_hint"
|
|
android:paddingLeft="@dimen/vkim_list_padding"
|
|
android:paddingRight="@dimen/vkim_list_padding"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<FrameLayout
|
|
android:paddingLeft="@dimen/vkim_list_padding"
|
|
android:paddingRight="@dimen/vkim_list_padding"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8.0dip"
|
|
android:layout_marginBottom="8.0dip">
|
|
|
|
<TextView
|
|
android:textSize="16.0sp"
|
|
android:textColor="?text_primary"
|
|
android:ellipsize="end"
|
|
android:id="@id/vkim_chat_link"
|
|
android:paddingTop="8.0dip"
|
|
android:paddingBottom="8.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:lines="1" />
|
|
|
|
<com.pnikosis.materialishprogress.ProgressWheel
|
|
android:layout_gravity="center"
|
|
android:id="@id/vkim_progress"
|
|
android:visibility="invisible"
|
|
android:layout_width="24.0dip"
|
|
android:layout_height="24.0dip"
|
|
app:matProg_barColor="?accent"
|
|
app:matProg_progressIndeterminate="true" />
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:id="@id/vkim_share"
|
|
android:background="?selectableItemBackground"
|
|
android:paddingLeft="16.0dip"
|
|
android:paddingRight="16.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8.0dip">
|
|
|
|
<android.support.v7.widget.AppCompatImageView
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_width="24.0dip"
|
|
android:layout_height="24.0dip"
|
|
android:src="@drawable/ic_share_outline_24"
|
|
android:tint="@color/light_blue" />
|
|
|
|
<TextView
|
|
android:text="@string/vkim_share"
|
|
style="@style/VkIm.InviteLink.TextBtn" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:id="@id/vkim_copy"
|
|
android:background="?selectableItemBackground"
|
|
android:paddingLeft="16.0dip"
|
|
android:paddingRight="16.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.v7.widget.AppCompatImageView
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_width="24.0dip"
|
|
android:layout_height="24.0dip"
|
|
android:src="@drawable/vkim_ic_msg_copy"
|
|
android:tint="@color/light_blue" />
|
|
|
|
<TextView
|
|
android:text="@string/vkim_copy_link"
|
|
style="@style/VkIm.InviteLink.TextBtn" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:id="@id/vkim_link_invalidate"
|
|
android:background="?selectableItemBackground"
|
|
android:paddingLeft="16.0dip"
|
|
android:paddingRight="16.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.v7.widget.AppCompatImageView
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_width="24.0dip"
|
|
android:layout_height="24.0dip"
|
|
android:src="@drawable/ic_do_not_disturb_24"
|
|
android:tint="@color/light_blue" />
|
|
|
|
<TextView
|
|
android:text="@string/vkim_chat_link_invalidate"
|
|
style="@style/VkIm.InviteLink.TextBtn" />
|
|
</LinearLayout>
|
|
</LinearLayout> |