RTL适配:全局替换布局属性(layout_marginLeft->layout_marginStar、layout_marginRight->layout_marginEnd、paddingLeft->paddingStart、paddingRight->paddingEnd、drawableLeft->drawableStar、drawableRight->drawableEnd、gravityLeft->gravityStart、gravityRight->gravityEnd)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/action_bar_height"
|
||||
android:orientation="vertical"
|
||||
android:paddingRight="10dp" >
|
||||
android:paddingEnd="10dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/action_bar_right_clickable_textview"
|
||||
@@ -14,8 +14,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/nim_message_button_bottom_send_selector"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip"
|
||||
android:paddingStart="10dip"
|
||||
android:paddingEnd="10dip"
|
||||
android:textColor="@color/color_green_text_view_selector"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/action_bar_height"
|
||||
android:orientation="vertical"
|
||||
android:paddingRight="10dp" >
|
||||
android:paddingEnd="10dp" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/picker_image_preview_photos_select"
|
||||
|
@@ -29,7 +29,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/app_bar_layout"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:textSize="17sp"
|
||||
android:visibility="gone" />
|
||||
|
@@ -7,8 +7,8 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:background="@drawable/nim_bg_edittext_rectangle"
|
||||
android:orientation="vertical">
|
||||
@@ -17,8 +17,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dip"
|
||||
android:layout_marginLeft="11dip"
|
||||
android:layout_marginRight="11dip"
|
||||
android:layout_marginStart="11dip"
|
||||
android:layout_marginEnd="11dip"
|
||||
android:layout_marginTop="15dip">
|
||||
|
||||
<TextView
|
||||
@@ -48,7 +48,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBaseline="@id/team_name"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_toRightOf="@id/team_name"
|
||||
android:text="@string/layout_nim_advanced_team_announce_list_item_01"
|
||||
android:textColor="@color/color_grey_999999"
|
||||
@@ -59,8 +59,8 @@
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5px"
|
||||
android:layout_marginLeft="11dp"
|
||||
android:layout_marginRight="11dp"
|
||||
android:layout_marginStart="11dp"
|
||||
android:layout_marginEnd="11dp"
|
||||
android:background="@color/color_split_line_cccccc" />
|
||||
|
||||
<TextView
|
||||
@@ -68,8 +68,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="15dip"
|
||||
android:layout_marginLeft="11dip"
|
||||
android:layout_marginRight="11dip"
|
||||
android:layout_marginStart="11dip"
|
||||
android:layout_marginEnd="11dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:minLines="3" />
|
||||
</LinearLayout>
|
||||
|
@@ -28,8 +28,8 @@
|
||||
android:id="@+id/team_announce_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="11dp"
|
||||
android:layout_marginRight="11dp"
|
||||
android:layout_marginStart="11dp"
|
||||
android:layout_marginEnd="11dp"
|
||||
android:layout_marginTop="25dp"
|
||||
android:padding="5dp"
|
||||
android:background="@drawable/nim_blue_edit_text_bg"
|
||||
@@ -39,8 +39,8 @@
|
||||
android:id="@+id/team_announce_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="11dp"
|
||||
android:layout_marginRight="11dp"
|
||||
android:layout_marginStart="11dp"
|
||||
android:layout_marginEnd="11dp"
|
||||
android:layout_marginTop="25dp"
|
||||
android:padding="5dp"
|
||||
android:background="@drawable/nim_blue_edit_text_bg"
|
||||
|
@@ -21,8 +21,8 @@
|
||||
android:gravity="center"
|
||||
android:numColumns="4"
|
||||
android:paddingBottom="25dip"
|
||||
android:paddingLeft="12dip"
|
||||
android:paddingRight="12dip"
|
||||
android:paddingStart="12dip"
|
||||
android:paddingEnd="12dip"
|
||||
android:paddingTop="16dip"
|
||||
android:verticalSpacing="16dip"></com.netease.nim.uikit.business.team.ui.TeamInfoGridView>
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
android:id="@+id/team_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:background="@drawable/nim_gray_edit_text_bg"
|
||||
android:hint="@string/team_name"
|
||||
android:padding="10dp" />
|
||||
@@ -49,8 +49,8 @@
|
||||
android:id="@+id/team_introduce"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:background="@drawable/nim_gray_edit_text_bg"
|
||||
android:hint="@string/team_introduce"
|
||||
android:padding="10dp" />
|
||||
|
@@ -41,8 +41,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="20dip"
|
||||
android:layout_marginLeft="25dip"
|
||||
android:layout_marginRight="15dip"
|
||||
android:layout_marginStart="25dip"
|
||||
android:layout_marginEnd="15dip"
|
||||
android:layout_marginTop="20dip">
|
||||
|
||||
<com.netease.nim.uikit.common.ui.imageview.HeadImageView
|
||||
@@ -54,7 +54,7 @@
|
||||
android:id="@+id/team_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginStart="10dip"
|
||||
android:layout_marginTop="5dip"
|
||||
android:layout_toRightOf="@id/team_head_image"
|
||||
android:text="Team Name"
|
||||
@@ -78,7 +78,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/team_id"
|
||||
android:layout_marginLeft="12dip"
|
||||
android:layout_marginStart="12dip"
|
||||
android:layout_toRightOf="@id/team_id"
|
||||
android:text="@string/layout_nim_advanced_team_info_activity_01"
|
||||
android:textColor="@color/color_grey_999999"
|
||||
@@ -129,8 +129,8 @@
|
||||
android:gravity="center"
|
||||
android:numColumns="5"
|
||||
android:paddingBottom="25dip"
|
||||
android:paddingLeft="12dip"
|
||||
android:paddingRight="12dip"
|
||||
android:paddingStart="12dip"
|
||||
android:paddingEnd="12dip"
|
||||
android:paddingTop="16dip"
|
||||
android:verticalSpacing="16dip"></com.netease.nim.uikit.business.team.ui.TeamInfoGridView>
|
||||
|
||||
|
@@ -4,8 +4,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp">
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -18,7 +18,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:layout_marginTop="17dip"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
@@ -34,7 +34,7 @@
|
||||
android:layout_alignTop="@id/item_title"
|
||||
android:layout_toRightOf="@id/item_title"
|
||||
android:drawablePadding="5dp"
|
||||
android:drawableRight="@drawable/nim_arrow_right"
|
||||
android:drawableEnd="@drawable/nim_arrow_right"
|
||||
android:ellipsize="end"
|
||||
android:gravity="right|center_vertical"
|
||||
android:hint="@string/click_set"
|
||||
|
@@ -67,7 +67,7 @@
|
||||
android:id="@+id/team_nickname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginStart="20dp"
|
||||
android:text="@string/team_nickname"
|
||||
android:textColor="@color/color_black_333333"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
@@ -77,10 +77,10 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:layout_toRightOf="@id/team_nickname"
|
||||
android:drawablePadding="5dp"
|
||||
android:drawableRight="@drawable/nim_arrow_right"
|
||||
android:drawableEnd="@drawable/nim_arrow_right"
|
||||
android:gravity="right|center_vertical"
|
||||
android:hint="@string/team_nickname_none"
|
||||
android:textColor="@color/grey"
|
||||
@@ -103,7 +103,7 @@
|
||||
android:id="@+id/team_member_identity"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginStart="20dp"
|
||||
android:text="@string/team_identity"
|
||||
android:textColor="@color/color_black_333333"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
@@ -113,10 +113,10 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:layout_toRightOf="@id/team_member_identity"
|
||||
android:drawablePadding="5dp"
|
||||
android:drawableRight="@drawable/nim_arrow_right"
|
||||
android:drawableEnd="@drawable/nim_arrow_right"
|
||||
android:gravity="right|center_vertical"
|
||||
android:hint="@string/team_nickname_none"
|
||||
android:textColor="@color/grey"
|
||||
@@ -142,8 +142,8 @@
|
||||
android:layout_gravity="center"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginTop="25dp"
|
||||
android:background="@drawable/nim_red_round_button_selector"
|
||||
android:text="@string/remove_member"
|
||||
|
@@ -32,8 +32,8 @@
|
||||
style="@style/blue_bottom_line_edit_text_style"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginStart="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:layout_marginTop="16dip"
|
||||
android:hint="@string/team_nickname"
|
||||
android:imeOptions="actionDone" />
|
||||
|
@@ -8,7 +8,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:paddingLeft="@dimen/dp_14"
|
||||
android:paddingStart="@dimen/dp_14"
|
||||
android:paddingTop="@dimen/dp_4"
|
||||
android:paddingBottom="@dimen/dp_4"
|
||||
android:textColor="@color/action_bar_black_title_color"
|
||||
|
@@ -14,7 +14,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/imageViewHeader"
|
||||
android:layout_marginLeft="@dimen/dp_14"
|
||||
android:layout_marginStart="@dimen/dp_14"
|
||||
android:layout_centerVertical="true"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
|
@@ -47,7 +47,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/frameLayoutHead"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
|
@@ -27,14 +27,14 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginStart="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:background="@color/transparent"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="5dip"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip"
|
||||
android:paddingStart="10dip"
|
||||
android:paddingEnd="10dip"
|
||||
android:paddingTop="5dip" >
|
||||
|
||||
<ImageView
|
||||
@@ -49,7 +49,7 @@
|
||||
android:id="@+id/record_times"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:singleLine="true"
|
||||
android:text="00:00"
|
||||
android:textColor="@color/white" />
|
||||
|
@@ -10,8 +10,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:singleLine="true"
|
||||
android:textColor="#1a1a1a"
|
||||
@@ -21,8 +21,8 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1px"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:background="#ebebeb" />
|
||||
|
||||
</RelativeLayout>
|
@@ -9,8 +9,8 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
|
@@ -37,8 +37,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginStart="10dip"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="#999999"
|
||||
android:textSize="10sp"
|
||||
@@ -74,6 +74,6 @@
|
||||
style="@style/horizontal_light_thin_divider"
|
||||
android:layout_alignLeft="@+id/contacts_item_name_layout"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginRight="10dp"/>
|
||||
android:layout_marginEnd="10dp"/>
|
||||
|
||||
</RelativeLayout>
|
@@ -91,12 +91,12 @@
|
||||
android:layout_height="34dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="6dip"
|
||||
android:layout_marginRight="6dip"
|
||||
android:layout_marginStart="6dip"
|
||||
android:layout_marginEnd="6dip"
|
||||
android:background="@drawable/nim_message_button_bottom_send_selector"
|
||||
android:enabled="false"
|
||||
android:paddingLeft="8dip"
|
||||
android:paddingRight="8dip"
|
||||
android:paddingStart="8dip"
|
||||
android:paddingEnd="8dip"
|
||||
android:text="@string/layout_nim_contacts_select_01"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp"
|
||||
@@ -116,8 +116,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="6dip"
|
||||
android:paddingRight="6dip">
|
||||
android:paddingStart="6dip"
|
||||
android:paddingEnd="6dip">
|
||||
|
||||
<GridView
|
||||
android:id="@+id/contact_select_area_grid"
|
||||
|
@@ -13,7 +13,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:contentDescription="@string/empty" />
|
||||
|
||||
<com.netease.nim.uikit.common.ui.imageview.HeadImageView
|
||||
@@ -21,7 +21,7 @@
|
||||
android:layout_width="@dimen/avatar_size_in_contact"
|
||||
android:layout_height="@dimen/avatar_size_in_contact"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_toRightOf="@id/imgSelect" />
|
||||
|
||||
<RelativeLayout
|
||||
@@ -29,8 +29,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="20dip"
|
||||
android:layout_marginStart="10dip"
|
||||
android:layout_marginEnd="20dip"
|
||||
android:layout_toRightOf="@+id/img_head"
|
||||
android:gravity="center_vertical" >
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
style="@style/horizontal_light_thin_divider"
|
||||
android:layout_alignLeft="@+id/name_layout"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_toRightOf="@id/imgSelect" />
|
||||
|
||||
</RelativeLayout>
|
@@ -25,9 +25,9 @@
|
||||
android:id="@+id/easy_dialog_message_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="right"
|
||||
android:gravity="end"
|
||||
android:paddingBottom="@dimen/dialog_text_margin_horizontal"
|
||||
android:paddingRight="@dimen/dialog_text_margin_horizontal"
|
||||
android:paddingEnd="@dimen/dialog_text_margin_horizontal"
|
||||
android:textColor="@color/color_black_333333"
|
||||
android:textSize="@dimen/very_samll_text_size"
|
||||
android:visibility="gone" />
|
||||
|
@@ -16,7 +16,7 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@null"
|
||||
android:contentDescription="@string/empty"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginStart="5dp"
|
||||
android:scaleType="center"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
@@ -20,8 +20,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dialog_padding_vertical"
|
||||
android:layout_marginLeft="@dimen/dialog_text_margin_horizontal"
|
||||
android:layout_marginRight="@dimen/dialog_text_margin_horizontal" >
|
||||
android:layout_marginStart="@dimen/dialog_text_margin_horizontal"
|
||||
android:layout_marginEnd="@dimen/dialog_text_margin_horizontal" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/easy_alert_dialog_edit_text"
|
||||
@@ -41,7 +41,7 @@
|
||||
android:layout_alignBottom="@+id/easy_alert_dialog_edit_text"
|
||||
android:layout_alignRight="@+id/easy_alert_dialog_edit_text"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:textColor="@color/color_black_333333"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
@@ -24,7 +24,7 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/menu_select_icon"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toLeftOf="@id/menu_button"
|
||||
android:background="@drawable/nim_picker_image_selected"
|
||||
|
@@ -13,8 +13,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/bottom_component_margin_horizontal"
|
||||
android:layout_marginRight="@dimen/bottom_component_margin_horizontal">
|
||||
android:layout_marginStart="@dimen/bottom_component_margin_horizontal"
|
||||
android:layout_marginEnd="@dimen/bottom_component_margin_horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/buttonAudioMessage"
|
||||
|
@@ -16,8 +16,8 @@
|
||||
android:layout_marginBottom="@dimen/bubble_time_layout_margin_bottom"
|
||||
android:layout_marginTop="@dimen/bubble_time_layout_margin_top"
|
||||
android:background="@drawable/nim_bg_message_tip"
|
||||
android:paddingLeft="7dip"
|
||||
android:paddingRight="7dip"
|
||||
android:paddingStart="7dip"
|
||||
android:paddingEnd="7dip"
|
||||
android:textColor="@color/color_grey_999999"
|
||||
android:textSize="10sp"
|
||||
android:visibility="gone" />
|
||||
@@ -56,7 +56,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/message_item_time"
|
||||
android:layout_marginBottom="3dp"
|
||||
android:layout_marginRight="3dp"
|
||||
android:layout_marginEnd="3dp"
|
||||
android:layout_toRightOf="@id/message_item_portrait_left"
|
||||
android:visibility="gone" />
|
||||
|
||||
@@ -96,8 +96,8 @@
|
||||
android:layout_width="20dip"
|
||||
android:layout_height="20dip"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginLeft="2dp"
|
||||
android:layout_marginRight="2dp"
|
||||
android:layout_marginStart="2dp"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:indeterminate="true"
|
||||
android:indeterminateDrawable="@drawable/nim_progress_small_white"
|
||||
android:visibility="gone" />
|
||||
@@ -107,8 +107,8 @@
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="2dp"
|
||||
android:layout_marginRight="2dp"
|
||||
android:layout_marginStart="2dp"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:src="@drawable/nim_ic_failed"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|center_vertical"
|
||||
android:paddingLeft="2dip"
|
||||
android:paddingStart="2dip"
|
||||
android:textColor="@color/color_C6C6E9"
|
||||
android:textSize="12sp"/>
|
||||
</FrameLayout>
|
||||
@@ -34,8 +34,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginLeft="@dimen/bubble_layout_margin_side"
|
||||
android:layout_marginRight="@dimen/bubble_layout_margin_side"
|
||||
android:layout_marginStart="@dimen/bubble_layout_margin_side"
|
||||
android:layout_marginEnd="@dimen/bubble_layout_margin_side"
|
||||
android:background="@drawable/nim_new_message_notify"
|
||||
android:contentDescription="@string/empty"
|
||||
android:focusable="false"
|
||||
|
@@ -20,8 +20,8 @@
|
||||
android:gravity="center"
|
||||
android:lineSpacingExtra="1dip"
|
||||
android:paddingBottom="2dip"
|
||||
android:paddingLeft="7dip"
|
||||
android:paddingRight="7dip"
|
||||
android:paddingStart="7dip"
|
||||
android:paddingEnd="7dip"
|
||||
android:paddingTop="2dip"
|
||||
android:singleLine="true"
|
||||
android:textColor="#ffffff"
|
||||
|
@@ -5,12 +5,12 @@
|
||||
android:id="@+id/message_item_notification_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="7dip"
|
||||
android:layout_marginRight="7dip"
|
||||
android:layout_marginStart="7dip"
|
||||
android:layout_marginEnd="7dip"
|
||||
android:background="@drawable/nim_bg_message_tip"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="7dip"
|
||||
android:paddingRight="7dip"
|
||||
android:paddingStart="7dip"
|
||||
android:paddingEnd="7dip"
|
||||
android:textColor="@color/color_black_333333"
|
||||
android:textSize="12sp"/>
|
||||
|
||||
|
@@ -19,8 +19,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:paddingTop="8dp"
|
||||
android:minWidth="64dp"
|
||||
android:visibility="visible">
|
||||
|
@@ -11,8 +11,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/nim_bg_message_tip"
|
||||
android:paddingLeft="7dip"
|
||||
android:paddingRight="7dip"
|
||||
android:paddingStart="7dip"
|
||||
android:paddingEnd="7dip"
|
||||
android:textColor="@color/color_black_333333"
|
||||
android:textSize="12sp"
|
||||
tools:text="12312313" />
|
||||
|
@@ -14,7 +14,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:contentDescription="@string/empty"
|
||||
android:src="@drawable/nim_unsupport_mime_type"/>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="6dip"
|
||||
android:layout_marginRight="4dip"
|
||||
android:layout_marginStart="6dip"
|
||||
android:layout_marginEnd="4dip"
|
||||
android:layout_toRightOf="@id/message_item_unsupport_image"
|
||||
android:orientation="vertical">
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:gravity="left"
|
||||
android:gravity="start"
|
||||
android:singleLine="true"
|
||||
android:text="@string/unsupport_title"
|
||||
android:textColor="@color/color_black_333333"
|
||||
@@ -44,7 +44,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="2dip"
|
||||
android:ellipsize="end"
|
||||
android:gravity="left"
|
||||
android:gravity="start"
|
||||
android:singleLine="true"
|
||||
android:text="@string/unsupport_desc"
|
||||
android:textColor="@color/color_grey_555555"
|
||||
|
@@ -15,15 +15,15 @@
|
||||
android:layout_width="25dip"
|
||||
android:layout_height="25dip"
|
||||
android:contentDescription="@string/empty"
|
||||
android:layout_marginRight="@dimen/bubble_head_margin_horizontal" />
|
||||
android:layout_marginEnd="@dimen/bubble_head_margin_horizontal" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/new_message_tip_text_view"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginStart="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:layout_weight="1"
|
||||
android:singleLine="true"
|
||||
android:textColor="#575757"
|
||||
|
@@ -54,13 +54,13 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginStart="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:background="@drawable/nim_picker_preview_btn_selector"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:paddingLeft="8dip"
|
||||
android:paddingRight="8dip"
|
||||
android:paddingStart="8dip"
|
||||
android:paddingEnd="8dip"
|
||||
android:gravity="center"
|
||||
android:text="@string/picker_image_preview"
|
||||
android:textColor="@color/color_picker_preview_selector"
|
||||
@@ -73,13 +73,13 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginStart="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:background="@drawable/nim_message_button_bottom_send_selector"
|
||||
android:enabled="false"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="8dip"
|
||||
android:paddingRight="8dip"
|
||||
android:paddingStart="8dip"
|
||||
android:paddingEnd="8dip"
|
||||
android:text="@string/picker_image_send"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14.0sp"
|
||||
|
@@ -24,7 +24,7 @@
|
||||
android:id="@+id/picker_image_preview_orignal_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:background="@null"
|
||||
android:src="@drawable/nim_picker_orignal_normal" />
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
android:id="@+id/picker_image_preview_orignal_image_tip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="7dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/picker_image_preview_original"
|
||||
android:textColor="#999999"
|
||||
@@ -49,12 +49,12 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|center_vertical"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:background="@drawable/nim_message_button_bottom_send_selector"
|
||||
android:enabled="true"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dip"
|
||||
android:paddingRight="8dip"
|
||||
android:paddingStart="8dip"
|
||||
android:paddingEnd="8dip"
|
||||
android:text="@string/picker_image_send"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
@@ -4,8 +4,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="10dp">
|
||||
android:paddingStart="5dp"
|
||||
android:paddingEnd="10dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/picker_photofolder_cover"
|
||||
|
@@ -3,7 +3,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="@dimen/split_one_pixels"
|
||||
android:paddingRight="15dip" >
|
||||
android:paddingEnd="15dip" >
|
||||
|
||||
<com.netease.nim.uikit.common.ui.popupmenu.PopupMenuListView
|
||||
android:id="@+id/popmenu_listview"
|
||||
|
@@ -3,7 +3,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingBottom="@dimen/split_one_pixels"
|
||||
android:paddingRight="15dip"
|
||||
android:paddingEnd="15dip"
|
||||
android:paddingTop="@dimen/split_one_pixels" >
|
||||
|
||||
<com.netease.nim.uikit.common.ui.popupmenu.PopupMenuListView
|
||||
|
@@ -4,16 +4,16 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/nim_popup_menu_item_black_selector"
|
||||
android:minHeight="44dip"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="25dp" >
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="25dp" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/popup_menu_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="15dip"
|
||||
android:layout_marginRight="15dip"
|
||||
android:layout_marginStart="15dip"
|
||||
android:layout_marginEnd="15dip"
|
||||
android:contentDescription="@string/empty" />
|
||||
|
||||
<TextView
|
||||
|
@@ -4,16 +4,16 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/nim_popup_menu_item_selector"
|
||||
android:minHeight="44dip"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="25dip" >
|
||||
android:paddingStart="10dip"
|
||||
android:paddingEnd="25dip" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/popup_menu_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="15dip"
|
||||
android:layout_marginRight="15dip"
|
||||
android:layout_marginStart="15dip"
|
||||
android:layout_marginEnd="15dip"
|
||||
android:contentDescription="@string/empty" />
|
||||
|
||||
<TextView
|
||||
|
@@ -37,8 +37,8 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginStart="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:background="@drawable/nim_message_button_bottom_send_selector"
|
||||
android:gravity="center"
|
||||
android:text="@string/send"
|
||||
|
@@ -24,7 +24,7 @@
|
||||
android:id="@+id/picker_image_preview_orignal_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:background="@null"
|
||||
android:src="@drawable/nim_picker_orignal_normal" />
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
android:id="@+id/picker_image_preview_orignal_image_tip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="7dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/picker_image_preview_original"
|
||||
android:textColor="#999999"
|
||||
@@ -49,12 +49,12 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|center_vertical"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:background="@drawable/nim_message_button_bottom_send_selector"
|
||||
android:enabled="true"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dip"
|
||||
android:paddingRight="8dip"
|
||||
android:paddingStart="8dip"
|
||||
android:paddingEnd="8dip"
|
||||
android:text="@string/picker_image_send"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<View
|
||||
android:id="@+id/top_line"
|
||||
style="@style/horizontal_light_thin_divider"
|
||||
android:layout_marginLeft="70dip" />
|
||||
android:layout_marginStart="70dip" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
@@ -29,15 +29,15 @@
|
||||
android:layout_width="@dimen/avatar_size_default"
|
||||
android:layout_height="@dimen/avatar_size_default"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="12dp" />
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="12dp" />
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_nickname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="6dp"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_toRightOf="@id/portrait_panel"
|
||||
android:ellipsize="end"
|
||||
@@ -53,7 +53,7 @@
|
||||
android:layout_alignBottom="@id/portrait_panel"
|
||||
android:layout_below="@id/tv_nickname"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginRight="40dip"
|
||||
android:layout_marginEnd="40dip"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_toRightOf="@id/portrait_panel"
|
||||
android:orientation="horizontal">
|
||||
@@ -62,7 +62,7 @@
|
||||
android:id="@+id/tv_online_state"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="6dp"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:gravity="center_vertical"
|
||||
android:lines="1"
|
||||
android:textColor="@color/color_aaaaaa_content_text"
|
||||
@@ -73,7 +73,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="6dp"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:contentDescription="@string/empty"
|
||||
android:visibility="visible" />
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:layout_marginTop="16dip"
|
||||
android:textColor="@color/color_aaaaaa_content_text"
|
||||
android:textSize="@dimen/text_small_size_ten_sp" />
|
||||
@@ -109,7 +109,7 @@
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@id/tv_nickname"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:textColor="@android:color/white"
|
||||
@@ -122,7 +122,7 @@
|
||||
android:layout_height="35dip"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@id/tv_nickname"
|
||||
android:layout_marginRight="6dip"
|
||||
android:layout_marginEnd="6dip"
|
||||
android:gravity="center"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
@@ -130,6 +130,6 @@
|
||||
<View
|
||||
android:id="@+id/bottom_line"
|
||||
style="@style/horizontal_light_thin_divider"
|
||||
android:layout_marginLeft="70dip" />
|
||||
android:layout_marginStart="70dip" />
|
||||
|
||||
</LinearLayout>
|
@@ -16,13 +16,13 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="?android:attr/progressBarStyleSmall"
|
||||
android:layout_marginRight="@dimen/dp_4"/>
|
||||
android:layout_marginEnd="@dimen/dp_4"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/loading_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_4"
|
||||
android:layout_marginStart="@dimen/dp_4"
|
||||
android:text="@string/loading"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="@dimen/sp_14"/>
|
||||
|
@@ -10,8 +10,8 @@
|
||||
android:layout_height="90dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sticker_desc_label"
|
||||
|
@@ -42,8 +42,8 @@
|
||||
android:gravity="center"
|
||||
android:numColumns="4"
|
||||
android:paddingBottom="25dip"
|
||||
android:paddingLeft="12dip"
|
||||
android:paddingRight="12dip"
|
||||
android:paddingStart="12dip"
|
||||
android:paddingEnd="12dip"
|
||||
android:paddingTop="16dip"
|
||||
android:verticalSpacing="16dip" />
|
||||
|
||||
@@ -63,8 +63,8 @@
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:paddingTop="30dp">
|
||||
|
||||
<Button
|
||||
|
@@ -2,8 +2,8 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:clickable="true"
|
||||
android:onClick="onClick"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/nim_bottom_divider_match_parent_selector"
|
||||
@@ -22,7 +22,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:textColor="@color/grey"
|
||||
android:text="@string/empty"
|
||||
android:singleLine="true"
|
||||
|
@@ -44,8 +44,8 @@
|
||||
android:background="@color/color_background"
|
||||
android:numColumns="4"
|
||||
android:paddingBottom="25dip"
|
||||
android:paddingLeft="12dip"
|
||||
android:paddingRight="12dip"
|
||||
android:paddingStart="12dip"
|
||||
android:paddingEnd="12dip"
|
||||
android:paddingTop="16dip"
|
||||
android:verticalSpacing="16dip" />
|
||||
</LinearLayout>
|
||||
|
@@ -47,7 +47,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/frameLayoutHead"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
|
@@ -31,8 +31,8 @@
|
||||
style="@style/blue_bottom_line_edit_text_style"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginStart="10dip"
|
||||
android:layout_marginEnd="10dip"
|
||||
android:layout_marginTop="16dip"
|
||||
android:hint="@string/team_settings_set_name"
|
||||
android:imeOptions="actionDone" />
|
||||
|
@@ -13,8 +13,8 @@
|
||||
android:layout_marginTop="@dimen/bubble_time_layout_margin_top"
|
||||
android:background="@drawable/nim_bg_message_tip"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="7dip"
|
||||
android:paddingRight="7dip"
|
||||
android:paddingStart="7dip"
|
||||
android:paddingEnd="7dip"
|
||||
android:textColor="#ffffff"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold"
|
||||
|
@@ -3,8 +3,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/isetting_item_height"
|
||||
android:background="@drawable/nim_semitransparency_selector"
|
||||
android:paddingLeft="@dimen/isetting_item_padding_left"
|
||||
android:paddingRight="@dimen/isetting_item_padding_right">
|
||||
android:paddingStart="@dimen/isetting_item_padding_left"
|
||||
android:paddingEnd="@dimen/isetting_item_padding_right">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_profile_title"
|
||||
|
@@ -22,7 +22,7 @@
|
||||
android:id="@+id/refreshing_indicator"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:progressDrawable="@drawable/nim_progress_small_white"
|
||||
android:visibility="gone"/>
|
||||
|
||||
@@ -46,8 +46,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:background="@drawable/nim_red_round_button_selector"
|
||||
android:gravity="center"
|
||||
android:paddingBottom="10dp"
|
||||
|
@@ -32,7 +32,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:layout_gravity="right|center"
|
||||
android:background="@drawable/nim_ic_menu_selector"
|
||||
android:layout_marginRight="15dp" />
|
||||
android:layout_marginEnd="15dp" />
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:layout_gravity="right|center"
|
||||
android:background="@drawable/nim_ic_menu_selector"
|
||||
android:layout_marginRight="15dp" />
|
||||
android:layout_marginEnd="15dp" />
|
||||
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
@@ -76,14 +76,14 @@
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="16dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:paddingLeft="27dip">
|
||||
android:paddingStart="27dip">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/downloadProgressBackground"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginRight="27dip"
|
||||
android:layout_marginEnd="27dip"
|
||||
android:background="@drawable/nim_watch_video_download_progress_background"
|
||||
android:contentDescription="@string/empty" />
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
android:id="@+id/downloadProgressForeground"
|
||||
android:layout_width="111dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="27dip"
|
||||
android:layout_marginEnd="27dip"
|
||||
android:background="@drawable/nim_watch_video_download_progress_foreground"
|
||||
android:contentDescription="@string/empty" />
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignRight="@id/videoView"
|
||||
android:layout_alignTop="@id/lblVideoFileInfo"
|
||||
android:gravity="right"
|
||||
android:gravity="end"
|
||||
android:textColor="@color/color_grey_999999"
|
||||
android:textSize="12dip" />
|
||||
</RelativeLayout>
|
||||
|
@@ -23,8 +23,8 @@
|
||||
<!-- navigation style -->
|
||||
<style name="myToolbarNavigationButtonStyle" parent="@style/Widget.AppCompat.Toolbar.Button.Navigation">
|
||||
<item name="android:minWidth">0dp</item>
|
||||
<item name="android:paddingRight">10dp</item>
|
||||
<item name="android:paddingLeft">10dp</item>
|
||||
<item name="android:paddingEnd">10dp</item>
|
||||
<item name="android:paddingStart">10dp</item>
|
||||
</style>
|
||||
|
||||
<!-- toolbar 文本 -->
|
||||
|
@@ -33,8 +33,8 @@
|
||||
<style name="custom_dialog_message_text_style">
|
||||
<item name="android:textSize">@dimen/normal_text_size</item>
|
||||
<item name="android:textColor">@color/color_black_333333</item>
|
||||
<item name="android:paddingLeft">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingRight">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingStart">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingEnd">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingTop">@dimen/custom_dialog_padding_vertical</item>
|
||||
<item name="android:paddingBottom">@dimen/custom_dialog_padding_vertical</item>
|
||||
<item name="android:background">@drawable/nim_list_item_selector</item>
|
||||
@@ -44,8 +44,8 @@
|
||||
<item name="android:textSize">@dimen/big_text_size</item>
|
||||
<item name="android:textColor">@color/color_activity_blue_bg</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:paddingLeft">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingRight">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingStart">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingEnd">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingTop">@dimen/dialog_padding_vertical</item>
|
||||
<item name="android:paddingBottom">@dimen/dialog_padding_vertical</item>
|
||||
</style>
|
||||
@@ -53,8 +53,8 @@
|
||||
<style name="dialog_message_text_style">
|
||||
<item name="android:textSize">@dimen/normal_text_size</item>
|
||||
<item name="android:textColor">@color/color_black_333333</item>
|
||||
<item name="android:paddingLeft">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingRight">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingStart">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingEnd">@dimen/dialog_text_margin_horizontal</item>
|
||||
<item name="android:paddingTop">@dimen/dialog_padding_vertical</item>
|
||||
<item name="android:paddingBottom">@dimen/dialog_padding_vertical</item>
|
||||
</style>
|
||||
@@ -80,8 +80,8 @@
|
||||
<style name="easy_dialog_edit_text_style" parent="@android:style/Widget.EditText">
|
||||
<item name="android:includeFontPadding">false</item>
|
||||
<item name="android:background">@drawable/nim_easy_edit_text_dialog_bg</item>
|
||||
<item name="android:paddingLeft">6dp</item>
|
||||
<item name="android:paddingRight">30dp</item>
|
||||
<item name="android:paddingStart">6dp</item>
|
||||
<item name="android:paddingEnd">30dp</item>
|
||||
<item name="android:paddingBottom">6dp</item>
|
||||
</style>
|
||||
|
||||
@@ -114,8 +114,8 @@
|
||||
|
||||
<style name="blue_bottom_line_edit_text_style" parent="@android:style/Widget.EditText">
|
||||
<item name="android:background">@drawable/nim_blue_edit_text_bg</item>
|
||||
<item name="android:paddingLeft">6dp</item>
|
||||
<item name="android:paddingRight">6dp</item>
|
||||
<item name="android:paddingStart">6dp</item>
|
||||
<item name="android:paddingEnd">6dp</item>
|
||||
<item name="android:paddingBottom">6dp</item>
|
||||
<item name="android:paddingTop">6dp</item>
|
||||
<item name="android:includeFontPadding">false</item>
|
||||
|
Reference in New Issue
Block a user