added some rtl attributes
This commit is contained in:
parent
6e98c63b80
commit
af78dc4025
|
@ -1,5 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Twidere - Twitter client for Android
|
||||
~
|
||||
~ Copyright (C) 2012-2014 Mariotaku Lee <mariotaku.lee@gmail.com>
|
||||
|
@ -16,10 +15,8 @@
|
|||
~
|
||||
~ You should have received a copy of the GNU General Public License
|
||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<!-- I don't know why dialog doesn't work unless wrapped with a RelativeLayout -->
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
--><!-- I don't know why dialog doesn't work unless wrapped with a RelativeLayout -->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
@ -30,13 +27,14 @@
|
|||
android:divider="?android:dividerVertical"
|
||||
android:orientation="vertical"
|
||||
android:showDividers="middle"
|
||||
tools:context=".activity.APIEditorActivity">
|
||||
tools:context=".activity.APIEditorActivity"
|
||||
tools:ignore="UselessParent">
|
||||
|
||||
<include
|
||||
layout="@layout/layout_api_editor"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_weight="1" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/save"
|
||||
|
@ -44,7 +42,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/button_bar_height"
|
||||
android:gravity="center"
|
||||
android:text="@android:string/ok"/>
|
||||
android:text="@android:string/ok" />
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
|
@ -38,7 +38,9 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_alignBottom="@+id/edit_text_container"
|
||||
android:layout_alignLeft="@+id/edit_text_container"
|
||||
android:layout_alignStart="@+id/edit_text_container"
|
||||
android:layout_alignRight="@+id/edit_text_container"
|
||||
android:layout_alignEnd="@+id/edit_text_container"
|
||||
android:layout_alignTop="@+id/edit_text_container"
|
||||
android:alpha="0.2"
|
||||
android:numColumns="@integer/grid_column_image_preview"
|
||||
|
@ -88,7 +90,8 @@
|
|||
android:id="@+id/location_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/element_spacing_normal" />
|
||||
android:layout_marginRight="@dimen/element_spacing_normal"
|
||||
android:layout_marginEnd="@dimen/element_spacing_normal" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -100,7 +103,9 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_alignBottom="@+id/edit_text_container"
|
||||
android:layout_alignLeft="@+id/edit_text_container"
|
||||
android:layout_alignStart="@+id/edit_text_container"
|
||||
android:layout_alignRight="@+id/edit_text_container"
|
||||
android:layout_alignEnd="@+id/edit_text_container"
|
||||
android:layout_alignTop="@+id/edit_text_container"
|
||||
android:visibility="gone">
|
||||
|
||||
|
@ -108,7 +113,7 @@
|
|||
android:id="@+id/account_selector"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="left"
|
||||
android:layout_gravity="start"
|
||||
android:overScrollMode="never" />
|
||||
</FrameLayout>
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Twidere - Twitter client for Android
|
||||
~
|
||||
~ Copyright (C) 2012-2014 Mariotaku Lee <mariotaku.lee@gmail.com>
|
||||
|
@ -18,9 +17,9 @@
|
|||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:baselineAligned="false"
|
||||
|
@ -52,18 +51,20 @@
|
|||
android:layout_gravity="center"
|
||||
app:sivBackgroundColor="?android:colorBackground"
|
||||
app:sivBorder="true"
|
||||
app:sivBorderWidth="@dimen/line_width_compose_account_profile_image"/>
|
||||
app:sivBorderWidth="@dimen/line_width_compose_account_profile_image" />
|
||||
|
||||
<org.mariotaku.twidere.view.BadgeView
|
||||
android:id="@+id/accounts_count"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignBottom="@id/account_profile_image"
|
||||
android:layout_alignEnd="@id/account_profile_image"
|
||||
android:layout_alignLeft="@id/account_profile_image"
|
||||
android:layout_alignRight="@id/account_profile_image"
|
||||
android:layout_alignStart="@id/account_profile_image"
|
||||
android:layout_alignTop="@id/account_profile_image"
|
||||
android:layout_gravity="center"
|
||||
android:textColor="?android:colorForeground"/>
|
||||
android:textColor="?android:colorForeground" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
@ -76,7 +77,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:background="@null"/>
|
||||
android:background="@null" />
|
||||
</HorizontalScrollView>
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -90,8 +91,10 @@
|
|||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/element_spacing_normal"
|
||||
android:paddingEnd="@dimen/element_spacing_normal"
|
||||
android:paddingLeft="@dimen/element_spacing_large"
|
||||
android:paddingRight="@dimen/element_spacing_normal"
|
||||
android:paddingStart="@dimen/element_spacing_large"
|
||||
android:paddingTop="@dimen/element_spacing_normal">
|
||||
|
||||
<org.mariotaku.twidere.view.StatusTextCountView
|
||||
|
@ -100,7 +103,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:minWidth="@dimen/element_size_small"
|
||||
android:textAppearance="?android:textAppearanceSmall"/>
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
tools:text="140" />
|
||||
|
||||
<org.mariotaku.twidere.view.ActionIconView
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -110,7 +114,7 @@
|
|||
android:cropToPadding="false"
|
||||
android:padding="@dimen/element_spacing_xsmall"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_action_send"/>
|
||||
android:src="@drawable/ic_action_send" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
|
@ -1,5 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Twidere - Twitter client for Android
|
||||
~
|
||||
~ Copyright (C) 2012-2015 Mariotaku Lee <mariotaku.lee@gmail.com>
|
||||
|
@ -19,10 +18,10 @@
|
|||
-->
|
||||
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
||||
android:id="@+id/item_content"
|
||||
|
@ -31,7 +30,6 @@
|
|||
android:background="?selectableItemBackground"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="false"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/element_spacing_small"
|
||||
app:ignorePadding="true">
|
||||
|
||||
|
@ -40,9 +38,12 @@
|
|||
android:layout_width="@dimen/icon_size_status_profile_image"
|
||||
android:layout_height="@dimen/element_size_small"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignTop="@+id/reply_retweet_status"
|
||||
android:layout_marginLeft="@dimen/element_spacing_normal"
|
||||
android:layout_marginRight="@dimen/element_spacing_small"/>
|
||||
android:layout_marginStart="@dimen/element_spacing_normal"
|
||||
android:layout_marginRight="@dimen/element_spacing_small"
|
||||
android:layout_marginEnd="@dimen/element_spacing_small" />
|
||||
|
||||
<org.mariotaku.twidere.view.ActionIconView
|
||||
android:id="@+id/reply_retweet_icon"
|
||||
|
@ -51,13 +52,15 @@
|
|||
android:layout_height="@dimen/element_size_small"
|
||||
android:layout_alignTop="@id/reply_retweet_status"
|
||||
android:layout_marginLeft="@dimen/element_spacing_small"
|
||||
android:layout_marginStart="@dimen/element_spacing_small"
|
||||
android:layout_toLeftOf="@+id/reply_retweet_status"
|
||||
android:layout_toStartOf="@+id/reply_retweet_status"
|
||||
android:color="?android:textColorSecondary"
|
||||
android:padding="@dimen/element_spacing_small"
|
||||
android:scaleType="centerInside"
|
||||
android:visibility="gone"
|
||||
tools:src="@drawable/ic_activity_action_retweet"
|
||||
tools:visibility="visible"/>
|
||||
tools:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/reply_retweet_status"
|
||||
|
@ -66,22 +69,27 @@
|
|||
android:layout_marginLeft="@dimen/element_spacing_normal"
|
||||
android:layout_marginRight="@dimen/element_spacing_normal"
|
||||
android:layout_toRightOf="@+id/reply_retweet_space"
|
||||
android:layout_toEndOf="@+id/reply_retweet_space"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:gravity="center_vertical|start"
|
||||
android:minHeight="@dimen/element_size_small"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:visibility="gone"
|
||||
tools:text="Mariotaku and 10 others retweeted"
|
||||
tools:visibility="visible"/>
|
||||
tools:visibility="visible" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/profile_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_below="@+id/reply_retweet_status"
|
||||
android:paddingLeft="@dimen/element_spacing_normal">
|
||||
android:paddingEnd="0dp"
|
||||
android:paddingLeft="@dimen/element_spacing_normal"
|
||||
android:paddingRight="0dp"
|
||||
android:paddingStart="@dimen/element_spacing_normal">
|
||||
|
||||
<org.mariotaku.twidere.view.ShapedImageView
|
||||
android:id="@+id/profile_image"
|
||||
|
@ -91,9 +99,10 @@
|
|||
android:layout_centerVertical="true"
|
||||
android:layout_marginBottom="@dimen/element_spacing_small"
|
||||
android:layout_marginRight="@dimen/element_spacing_small"
|
||||
android:layout_marginEnd="@dimen/element_spacing_small"
|
||||
android:layout_marginTop="@dimen/element_spacing_small"
|
||||
android:contentDescription="@string/profile_image"
|
||||
android:scaleType="centerCrop"/>
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<org.mariotaku.twidere.view.BoundsImageView
|
||||
android:id="@+id/profile_type"
|
||||
|
@ -101,15 +110,19 @@
|
|||
android:layout_height="@dimen/icon_size_profile_type"
|
||||
android:layout_alignBottom="@id/profile_image"
|
||||
android:layout_alignRight="@id/profile_image"
|
||||
android:scaleType="fitCenter"/>
|
||||
android:layout_alignEnd="@id/profile_image"
|
||||
android:scaleType="fitCenter" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/element_spacing_normal"
|
||||
android:layout_marginStart="@dimen/element_spacing_normal"
|
||||
android:layout_toLeftOf="@+id/extra_type"
|
||||
android:layout_toStartOf="@+id/extra_type"
|
||||
android:layout_toRightOf="@id/profile_image"
|
||||
android:layout_toEndOf="@id/profile_image"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
|
@ -129,18 +142,19 @@
|
|||
android:textAppearance="?android:textAppearanceSmall"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
android:textStyle="bold"
|
||||
tools:text="User"/>
|
||||
tools:text="User" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/screen_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/element_spacing_small"
|
||||
android:layout_marginStart="@dimen/element_spacing_small"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
android:textSize="10sp"
|
||||
tools:text="\@user"/>
|
||||
tools:text="\@user"
|
||||
tools:textSize="@dimen/text_size_extra_small" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
@ -154,7 +168,7 @@
|
|||
android:singleLine="true"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
tools:text="10 mins ago"
|
||||
tools:textSize="10sp"/>
|
||||
tools:textSize="@dimen/text_size_extra_small" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -163,13 +177,14 @@
|
|||
android:layout_width="@dimen/element_size_small"
|
||||
android:layout_height="@dimen/element_size_small"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginBottom="@dimen/element_spacing_normal"
|
||||
android:layout_marginLeft="@dimen/element_spacing_mlarge"
|
||||
android:layout_marginRight="@dimen/element_spacing_mlarge"
|
||||
android:layout_marginTop="@dimen/element_spacing_normal"
|
||||
android:color="?android:textColorSecondary"
|
||||
tools:src="@drawable/ic_action_gallery"/>
|
||||
tools:src="@drawable/ic_action_gallery" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
@ -178,6 +193,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/profile_container"
|
||||
android:layout_alignStart="@+id/profile_container"
|
||||
android:layout_below="@id/profile_container"
|
||||
android:layout_marginBottom="@dimen/element_spacing_small"
|
||||
android:layout_marginTop="@dimen/element_spacing_normal"
|
||||
|
@ -187,7 +203,7 @@
|
|||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:visibility="gone"
|
||||
tools:text="@string/sample_status_text"
|
||||
tools:visibility="visible"/>
|
||||
tools:visibility="visible" />
|
||||
|
||||
<org.mariotaku.twidere.view.ForegroundColorView
|
||||
android:id="@+id/quote_indicator"
|
||||
|
@ -196,9 +212,10 @@
|
|||
android:layout_alignBottom="@+id/text"
|
||||
android:layout_alignTop="@+id/quoted_name_container"
|
||||
android:layout_marginLeft="@dimen/element_spacing_normal"
|
||||
android:layout_marginStart="@dimen/element_spacing_normal"
|
||||
android:background="?android:dividerHorizontal"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"/>
|
||||
tools:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/quoted_name_container"
|
||||
|
@ -206,6 +223,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/quote_text"
|
||||
android:layout_toRightOf="@+id/quote_indicator"
|
||||
android:layout_toEndOf="@+id/quote_indicator"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/element_spacing_normal"
|
||||
|
@ -221,18 +239,19 @@
|
|||
android:textAppearance="?android:textAppearanceSmall"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
android:textStyle="bold"
|
||||
tools:text="User"/>
|
||||
tools:text="User" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/quoted_screen_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/element_spacing_small"
|
||||
android:layout_marginStart="@dimen/element_spacing_small"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
android:textSize="10sp"
|
||||
tools:text="\@user"/>
|
||||
tools:text="\@user"
|
||||
tools:textSize="@dimen/text_size_extra_small" />
|
||||
</LinearLayout>
|
||||
|
||||
<org.mariotaku.twidere.view.CardMediaContainer
|
||||
|
@ -242,6 +261,7 @@
|
|||
android:layout_below="@+id/quoted_name_container"
|
||||
android:layout_marginTop="@dimen/element_spacing_normal"
|
||||
android:layout_toRightOf="@+id/quote_indicator"
|
||||
android:layout_toEndOf="@+id/quote_indicator"
|
||||
android:horizontalSpacing="@dimen/element_spacing_xsmall"
|
||||
android:verticalSpacing="@dimen/element_spacing_xsmall">
|
||||
|
||||
|
@ -257,20 +277,22 @@
|
|||
android:layout_marginBottom="@dimen/element_spacing_normal"
|
||||
android:layout_marginTop="@dimen/element_spacing_normal"
|
||||
android:layout_toRightOf="@+id/quote_indicator"
|
||||
android:layout_toEndOf="@+id/quote_indicator"
|
||||
android:paddingLeft="@dimen/element_spacing_normal"
|
||||
android:paddingRight="@dimen/element_spacing_normal"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
tools:text="@string/sample_status_text"/>
|
||||
tools:text="@string/sample_status_text" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/action_buttons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/profile_container"
|
||||
android:layout_alignStart="@+id/profile_container"
|
||||
android:layout_below="@+id/text"
|
||||
android:layout_marginTop="@dimen/element_spacing_minus_small"
|
||||
android:gravity="center_vertical|left"
|
||||
android:gravity="center_vertical|start"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<org.mariotaku.twidere.view.ActionIconThemedTextView
|
||||
|
@ -279,13 +301,14 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/button_size_content_card"
|
||||
android:drawableLeft="@drawable/ic_action_reply"
|
||||
android:drawableStart="@drawable/ic_action_reply"
|
||||
android:focusable="false"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/element_spacing_normal"
|
||||
android:paddingRight="@dimen/element_spacing_normal"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
app:iabActivatedColor="@color/highlight_reply"
|
||||
app:iabColor="?android:textColorTertiary"/>
|
||||
app:iabColor="?android:textColorTertiary" />
|
||||
|
||||
<org.mariotaku.twidere.view.ActionIconThemedTextView
|
||||
android:id="@+id/retweet_count"
|
||||
|
@ -293,13 +316,14 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/button_size_content_card"
|
||||
android:drawableLeft="@drawable/ic_action_retweet"
|
||||
android:drawableStart="@drawable/ic_action_retweet"
|
||||
android:focusable="false"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/element_spacing_normal"
|
||||
android:paddingRight="@dimen/element_spacing_normal"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
app:iabActivatedColor="@color/highlight_retweet"
|
||||
app:iabColor="?android:textColorTertiary"/>
|
||||
app:iabColor="?android:textColorTertiary" />
|
||||
|
||||
<org.mariotaku.twidere.view.ActionIconThemedTextView
|
||||
android:id="@+id/favorite_count"
|
||||
|
@ -307,13 +331,14 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/button_size_content_card"
|
||||
android:drawableLeft="@drawable/ic_action_star"
|
||||
android:drawableStart="@drawable/ic_action_star"
|
||||
android:focusable="false"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/element_spacing_normal"
|
||||
android:paddingRight="@dimen/element_spacing_normal"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
app:iabActivatedColor="@color/highlight_favorite"
|
||||
app:iabColor="?android:textColorTertiary"/>
|
||||
app:iabColor="?android:textColorTertiary" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -324,13 +349,14 @@
|
|||
android:layout_height="@dimen/element_size_normal"
|
||||
android:layout_alignBottom="@+id/action_buttons"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignTop="@+id/action_buttons"
|
||||
android:layout_marginBottom="@dimen/element_spacing_small"
|
||||
android:layout_marginLeft="@dimen/element_spacing_normal"
|
||||
android:layout_marginRight="@dimen/element_spacing_normal"
|
||||
android:color="?android:textColorTertiary"
|
||||
android:focusable="false"
|
||||
android:src="@drawable/ic_action_more_vertical"/>
|
||||
android:src="@drawable/ic_action_more_vertical" />
|
||||
|
||||
</org.mariotaku.twidere.view.ColorLabelRelativeLayout>
|
||||
</merge>
|
|
@ -42,8 +42,10 @@
|
|||
android:layout_width="@dimen/element_size_small"
|
||||
android:layout_height="@dimen/element_size_small"
|
||||
android:layout_alignRight="@id/profile_image_space"
|
||||
android:layout_alignEnd="@id/profile_image_space"
|
||||
android:layout_alignTop="@id/reply_retweet_status"
|
||||
android:layout_marginLeft="@dimen/element_spacing_small"
|
||||
android:layout_marginStart="@dimen/element_spacing_small"
|
||||
android:color="?android:textColorSecondary"
|
||||
android:padding="@dimen/element_spacing_small"
|
||||
android:scaleType="centerInside"
|
||||
|
@ -56,15 +58,17 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/status_content"
|
||||
android:layout_alignStart="@+id/status_content"
|
||||
android:layout_marginBottom="@dimen/element_spacing_small"
|
||||
android:layout_marginRight="@dimen/element_spacing_normal"
|
||||
android:layout_marginEnd="@dimen/element_spacing_normal"
|
||||
android:layout_marginTop="@dimen/element_spacing_minus_small"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:gravity="center_vertical|start"
|
||||
android:minHeight="@dimen/element_size_small"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textSize="10sp"
|
||||
tools:textSize="@dimen/text_size_extra_small"
|
||||
android:visibility="gone"
|
||||
tools:text="Retweeted by Mariotaku"
|
||||
tools:visibility="visible" />
|
||||
|
@ -74,6 +78,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/icon_size_status_profile_image"
|
||||
android:layout_alignRight="@id/profile_image"
|
||||
android:layout_alignEnd="@id/profile_image"
|
||||
android:layout_below="@+id/reply_retweet_icon" />
|
||||
|
||||
<org.mariotaku.twidere.view.ShapedImageView
|
||||
|
@ -82,6 +87,7 @@
|
|||
android:layout_width="@dimen/icon_size_status_profile_image"
|
||||
android:layout_height="@dimen/icon_size_status_profile_image"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignWithParentIfMissing="true"
|
||||
android:layout_below="@+id/reply_retweet_status"
|
||||
android:contentDescription="@string/profile_image"
|
||||
|
@ -93,8 +99,10 @@
|
|||
android:layout_height="@dimen/icon_size_profile_type"
|
||||
android:layout_alignBottom="@id/profile_image"
|
||||
android:layout_alignRight="@id/profile_image"
|
||||
android:layout_alignEnd="@id/profile_image"
|
||||
android:layout_marginBottom="@dimen/element_spacing_minus_small"
|
||||
android:layout_marginRight="@dimen/element_spacing_minus_small"
|
||||
android:layout_marginEnd="@dimen/element_spacing_minus_small"
|
||||
android:scaleType="fitCenter" />
|
||||
|
||||
<RelativeLayout
|
||||
|
@ -104,7 +112,9 @@
|
|||
android:layout_alignTop="@id/profile_image_space"
|
||||
android:layout_marginBottom="@dimen/element_spacing_normal"
|
||||
android:layout_marginLeft="@dimen/element_spacing_normal"
|
||||
android:layout_marginStart="@dimen/element_spacing_normal"
|
||||
android:layout_toRightOf="@id/profile_image_space"
|
||||
android:layout_toEndOf="@id/profile_image_space"
|
||||
android:minHeight="@dimen/icon_size_status_profile_image"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
@ -112,14 +122,14 @@
|
|||
android:id="@+id/profile_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:gravity="center_vertical|start"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:gravity="center_vertical|start"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
|
@ -137,11 +147,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/element_spacing_small"
|
||||
android:layout_marginStart="@dimen/element_spacing_small"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
tools:text="\@username"
|
||||
tools:textSize="10sp" />
|
||||
tools:textSize="@dimen/text_size_extra_small" />
|
||||
</LinearLayout>
|
||||
|
||||
<org.mariotaku.twidere.view.ShortTimeView
|
||||
|
@ -150,7 +161,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
tools:textSize="10sp" />
|
||||
tools:textSize="@dimen/text_size_extra_small" />
|
||||
|
||||
<org.mariotaku.twidere.view.ActionIconView
|
||||
android:id="@+id/extra_type"
|
||||
|
@ -167,6 +178,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/profile_container"
|
||||
android:layout_alignStart="@+id/profile_container"
|
||||
android:layout_below="@id/profile_container"
|
||||
android:layout_marginBottom="@dimen/element_spacing_small"
|
||||
android:layout_marginTop="@dimen/element_spacing_normal"
|
||||
|
@ -183,6 +195,7 @@
|
|||
android:layout_alignBottom="@+id/text"
|
||||
android:layout_alignTop="@+id/quoted_name_container"
|
||||
android:layout_marginRight="@dimen/element_spacing_normal"
|
||||
android:layout_marginEnd="@dimen/element_spacing_normal"
|
||||
android:background="?android:dividerHorizontal"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible" />
|
||||
|
@ -193,7 +206,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/quote_text"
|
||||
android:layout_toRightOf="@+id/quote_indicator"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_toEndOf="@+id/quote_indicator"
|
||||
android:gravity="center_vertical|start"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
@ -213,6 +227,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/element_spacing_small"
|
||||
android:layout_marginStart="@dimen/element_spacing_small"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
|
@ -228,6 +243,7 @@
|
|||
android:layout_below="@+id/quoted_name_container"
|
||||
android:layout_marginTop="@dimen/element_spacing_small"
|
||||
android:layout_toRightOf="@+id/quote_indicator"
|
||||
android:layout_toEndOf="@+id/quote_indicator"
|
||||
android:horizontalSpacing="@dimen/element_spacing_xsmall"
|
||||
android:verticalSpacing="@dimen/element_spacing_xsmall">
|
||||
|
||||
|
@ -242,6 +258,7 @@
|
|||
android:layout_below="@id/media_preview"
|
||||
android:layout_marginTop="@dimen/element_spacing_small"
|
||||
android:layout_toRightOf="@+id/quote_indicator"
|
||||
android:layout_toEndOf="@+id/quote_indicator"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
tools:text="@string/sample_status_text" />
|
||||
|
@ -254,10 +271,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@id/status_content"
|
||||
android:layout_alignStart="@id/status_content"
|
||||
android:layout_below="@+id/status_content"
|
||||
android:layout_marginTop="@dimen/element_spacing_minus_normal"
|
||||
android:layout_toLeftOf="@+id/item_menu"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_toStartOf="@+id/item_menu"
|
||||
android:gravity="center_vertical|start"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
|
@ -268,6 +287,7 @@
|
|||
android:layout_height="@dimen/button_size_content_card"
|
||||
android:layout_weight="0"
|
||||
android:drawableLeft="@drawable/ic_action_reply"
|
||||
android:drawableStart="@drawable/ic_action_reply"
|
||||
android:focusable="false"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/element_spacing_normal"
|
||||
|
@ -283,6 +303,7 @@
|
|||
android:layout_height="@dimen/button_size_content_card"
|
||||
android:layout_weight="0"
|
||||
android:drawableLeft="@drawable/ic_action_retweet"
|
||||
android:drawableStart="@drawable/ic_action_retweet"
|
||||
android:focusable="false"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/element_spacing_normal"
|
||||
|
@ -298,6 +319,7 @@
|
|||
android:layout_height="@dimen/button_size_content_card"
|
||||
android:layout_weight="0"
|
||||
android:drawableLeft="@drawable/ic_action_star"
|
||||
android:drawableStart="@drawable/ic_action_star"
|
||||
android:focusable="false"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/element_spacing_normal"
|
||||
|
@ -315,6 +337,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/action_buttons"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignTop="@+id/action_buttons"
|
||||
android:layout_marginTop="@dimen/element_spacing_minus_normal"
|
||||
android:color="?android:textColorTertiary"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Twidere - Twitter client for Android
|
||||
~
|
||||
~ Copyright (C) 2012-2014 Mariotaku Lee <mariotaku.lee@gmail.com>
|
||||
|
@ -19,13 +18,16 @@
|
|||
-->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/advanced_api_config"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/advanced_api_config"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/element_spacing_normal">
|
||||
android:paddingEnd="0dp"
|
||||
android:paddingLeft="@dimen/element_spacing_normal"
|
||||
android:paddingRight="0dp"
|
||||
android:paddingStart="@dimen/element_spacing_normal">
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/same_oauth_signing_url"
|
||||
|
@ -34,7 +36,7 @@
|
|||
android:paddingBottom="@dimen/element_spacing_normal"
|
||||
android:paddingTop="@dimen/element_spacing_normal"
|
||||
android:text="@string/same_oauth_signing_url"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
||||
android:textAppearance="?android:attr/textAppearanceSmall" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/no_version_suffix"
|
||||
|
@ -43,7 +45,7 @@
|
|||
android:paddingBottom="@dimen/element_spacing_normal"
|
||||
android:paddingTop="@dimen/element_spacing_normal"
|
||||
android:text="@string/no_version_suffix"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
||||
android:textAppearance="?android:attr/textAppearanceSmall" />
|
||||
|
||||
<com.rengwuxian.materialedittext.MaterialEditText
|
||||
android:id="@+id/consumer_key"
|
||||
|
@ -55,7 +57,7 @@
|
|||
android:singleLine="true"
|
||||
app:met_baseColor="?android:textColorPrimary"
|
||||
app:met_floatingLabel="normal"
|
||||
app:met_floatingLabelText="@string/consumer_key"/>
|
||||
app:met_floatingLabelText="@string/consumer_key" />
|
||||
|
||||
<com.rengwuxian.materialedittext.MaterialEditText
|
||||
android:id="@+id/consumer_secret"
|
||||
|
@ -67,6 +69,6 @@
|
|||
android:singleLine="true"
|
||||
app:met_baseColor="?android:textColorPrimary"
|
||||
app:met_floatingLabel="normal"
|
||||
app:met_floatingLabelText="@string/consumer_secret"/>
|
||||
app:met_floatingLabelText="@string/consumer_secret" />
|
||||
|
||||
</LinearLayout>
|
|
@ -19,6 +19,7 @@
|
|||
<item name="cardItemBackgroundColor">@color/background_color_card_item_dark</item>
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_light</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_dark</item>
|
||||
</style>
|
||||
|
||||
|
@ -32,7 +33,9 @@
|
|||
<item name="profileImageStyle">@style/Widget.Light.ProfileImage</item>
|
||||
<item name="profileImageStyleLarge">@style/Widget.Light.ProfileImage.Large</item>
|
||||
<item name="cardItemBackgroundColor">#f8f8f8</item>
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_dark</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_light</item>
|
||||
</style>
|
||||
|
||||
|
@ -48,6 +51,7 @@
|
|||
<item name="cardItemBackgroundColor">@color/background_color_card_item_dark</item>
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_light</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_dark</item>
|
||||
</style>
|
||||
|
||||
|
@ -61,7 +65,9 @@
|
|||
<item name="profileImageStyle">@style/Widget.Light.ProfileImage</item>
|
||||
<item name="profileImageStyleLarge">@style/Widget.Light.ProfileImage.Large</item>
|
||||
<item name="cardItemBackgroundColor">#f8f8f8</item>
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_dark</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_light</item>
|
||||
</style>
|
||||
|
||||
|
@ -77,6 +83,7 @@
|
|||
<item name="cardItemBackgroundColor">@color/background_color_card_item_dark</item>
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_light</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_dark</item>
|
||||
</style>
|
||||
|
||||
|
@ -92,6 +99,7 @@
|
|||
<item name="cardItemBackgroundColor">#f8f8f8</item>
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_dark</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_light</item>
|
||||
</style>
|
||||
|
||||
|
@ -107,6 +115,7 @@
|
|||
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_light</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_dark</item>
|
||||
</style>
|
||||
|
||||
|
@ -122,6 +131,7 @@
|
|||
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_dark</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_light</item>
|
||||
</style>
|
||||
|
||||
|
@ -148,6 +158,7 @@
|
|||
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_light</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_dark</item>
|
||||
</style>
|
||||
|
||||
|
@ -174,6 +185,7 @@
|
|||
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_dark</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_light</item>
|
||||
</style>
|
||||
|
||||
|
@ -213,6 +225,7 @@
|
|||
<item name="cardItemBackgroundColor">@color/background_color_card_item_dark</item>
|
||||
|
||||
<!-- Twidere specific styles -->
|
||||
<item name="menuIconColor">@color/action_icon_light</item>
|
||||
<item name="messageBubbleColor">@color/message_bubble_color_dark</item>
|
||||
</style>
|
||||
|
||||
|
|
Loading…
Reference in New Issue