mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-02-07 23:38:40 +01:00
formatted code
This commit is contained in:
parent
7c19db15d3
commit
630925574e
@ -17,9 +17,9 @@
|
|||||||
~ You should have received a copy of the GNU General Public License
|
~ You should have received a copy of the GNU General Public License
|
||||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
<manifest package="org.mariotaku.twidere"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
package="org.mariotaku.twidere"
|
||||||
android:installLocation="internalOnly">
|
android:installLocation="internalOnly">
|
||||||
|
|
||||||
<uses-sdk tools:overrideLibrary="android.support.customtabs,net.ypresto.androidtranscoder"/>
|
<uses-sdk tools:overrideLibrary="android.support.customtabs,net.ypresto.androidtranscoder"/>
|
||||||
@ -108,6 +108,7 @@
|
|||||||
<application
|
<application
|
||||||
android:name=".app.TwidereApplication"
|
android:name=".app.TwidereApplication"
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
|
android:appCategory="social"
|
||||||
android:backupAgent=".backup.TwidereBackupAgentHelper"
|
android:backupAgent=".backup.TwidereBackupAgentHelper"
|
||||||
android:description="@string/app_description"
|
android:description="@string/app_description"
|
||||||
android:fullBackupContent="true"
|
android:fullBackupContent="true"
|
||||||
|
@ -19,10 +19,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:state_enabled="false" android:color="#808080"/>
|
<item android:color="#808080" android:state_enabled="false"/>
|
||||||
<item android:state_window_focused="false" android:color="#808080"/>
|
<item android:color="#808080" android:state_window_focused="false"/>
|
||||||
<item android:state_pressed="true" android:color="#808080"/>
|
<item android:color="#808080" android:state_pressed="true"/>
|
||||||
<item android:state_selected="true" android:color="#323232"/>
|
<item android:color="#323232" android:state_selected="true"/>
|
||||||
<item android:color="#808080"/>
|
<item android:color="#808080"/>
|
||||||
<!-- not selected -->
|
<!-- not selected -->
|
||||||
</selector>
|
</selector>
|
||||||
|
@ -19,10 +19,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:state_enabled="false" android:color="#b0b0b0"/>
|
<item android:color="#b0b0b0" android:state_enabled="false"/>
|
||||||
<item android:state_window_focused="false" android:color="#808080"/>
|
<item android:color="#808080" android:state_window_focused="false"/>
|
||||||
<item android:state_pressed="true" android:color="#808080"/>
|
<item android:color="#808080" android:state_pressed="true"/>
|
||||||
<item android:state_selected="true" android:color="#808080"/>
|
<item android:color="#808080" android:state_selected="true"/>
|
||||||
<item android:color="#969696"/> <!-- not selected -->
|
<item android:color="#969696"/> <!-- not selected -->
|
||||||
</selector>
|
</selector>
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
<gradient
|
<gradient
|
||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:centerColor="#30000000"
|
android:centerColor="#30000000"
|
||||||
android:endColor="#80000000"
|
|
||||||
android:centerX="0.7"
|
android:centerX="0.7"
|
||||||
|
android:endColor="#80000000"
|
||||||
android:startColor="#00000000"/>
|
android:startColor="#00000000"/>
|
||||||
|
|
||||||
</shape>
|
</shape>
|
@ -152,6 +152,7 @@
|
|||||||
android:layout_toEndOf="@+id/accountSelectorButton"
|
android:layout_toEndOf="@+id/accountSelectorButton"
|
||||||
android:layout_toRightOf="@id/accountSelectorButton"
|
android:layout_toRightOf="@id/accountSelectorButton"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:overScrollMode="never"
|
android:overScrollMode="never"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:listitem="@layout/adapter_item_compose_account"/>
|
tools:listitem="@layout/adapter_item_compose_account"/>
|
||||||
@ -165,6 +166,7 @@
|
|||||||
android:layout_toEndOf="@+id/accountSelectorButton"
|
android:layout_toEndOf="@+id/accountSelectorButton"
|
||||||
android:layout_toRightOf="@id/accountSelectorButton"
|
android:layout_toRightOf="@id/accountSelectorButton"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:visibility="visible">
|
android:visibility="visible">
|
||||||
|
|
||||||
<HorizontalScrollView
|
<HorizontalScrollView
|
||||||
@ -235,6 +237,7 @@
|
|||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:paddingBottom="@dimen/element_spacing_msmall"
|
android:paddingBottom="@dimen/element_spacing_msmall"
|
||||||
android:paddingEnd="@dimen/element_spacing_msmall"
|
android:paddingEnd="@dimen/element_spacing_msmall"
|
||||||
android:paddingLeft="@dimen/element_spacing_msmall"
|
android:paddingLeft="@dimen/element_spacing_msmall"
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.ExtendedFrameLayout
|
<org.mariotaku.twidere.view.ExtendedFrameLayout
|
||||||
android:id="@+id/main_content"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/main_content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.ExtendedRelativeLayout
|
<org.mariotaku.twidere.view.ExtendedRelativeLayout
|
||||||
android:id="@+id/homeContent"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/homeContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
@ -85,6 +85,7 @@
|
|||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_margin="@dimen/element_spacing_large"
|
android:layout_margin="@dimen/element_spacing_large"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:src="@drawable/ic_action_status_compose"
|
android:src="@drawable/ic_action_status_compose"
|
||||||
app:backgroundTint="?colorToolbar"
|
app:backgroundTint="?colorToolbar"
|
||||||
app:elevation="6dp"
|
app:elevation="6dp"
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.TintedStatusFrameLayout
|
<org.mariotaku.twidere.view.TintedStatusFrameLayout
|
||||||
android:id="@+id/activityLayout"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/activityLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:fitsSystemWindows="true"
|
android:fitsSystemWindows="true"
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.ExtendedRelativeLayout
|
<org.mariotaku.twidere.view.ExtendedRelativeLayout
|
||||||
android:id="@+id/mainContent"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/mainContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:padding="@dimen/element_spacing_normal">
|
android:padding="@dimen/element_spacing_normal">
|
||||||
|
@ -18,14 +18,13 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<android.support.v7.widget.CardView
|
<android.support.v7.widget.CardView
|
||||||
android:id="@+id/itemContent"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/itemContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="@dimen/element_spacing_small"
|
android:layout_margin="@dimen/element_spacing_small"
|
||||||
android:clickable="true"
|
|
||||||
android:foreground="?selectableItemBackground"
|
android:foreground="?selectableItemBackground"
|
||||||
app:cardBackgroundColor="?cardItemBackgroundColor"
|
app:cardBackgroundColor="?cardItemBackgroundColor"
|
||||||
app:cardCornerRadius="2dp"
|
app:cardCornerRadius="2dp"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/countItem"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/countItem"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
@ -20,18 +20,18 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="@dimen/element_spacing_small"
|
android:layout_marginEnd="@dimen/element_spacing_small"
|
||||||
android:layout_marginRight="@dimen/element_spacing_small"
|
android:layout_marginRight="@dimen/element_spacing_small"
|
||||||
|
android:maxLines="1"
|
||||||
android:textAppearance="?android:textAppearanceSmall"
|
android:textAppearance="?android:textAppearanceSmall"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
tools:text="255"
|
tools:text="255"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
android:id="@+id/label"
|
android:id="@+id/label"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:maxLines="1"
|
||||||
android:textAppearance="?android:textAppearanceSmall"
|
android:textAppearance="?android:textAppearanceSmall"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
tools:text="Count"
|
tools:text="Count"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -19,9 +19,9 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/gapIndicator"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:id="@+id/gapIndicator"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/element_size_normal"
|
android:layout_height="@dimen/element_size_normal"
|
||||||
android:focusable="true">
|
android:focusable="true">
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
||||||
android:id="@+id/itemContent"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/itemContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
@ -40,9 +40,9 @@
|
|||||||
android:layout_marginEnd="@dimen/element_spacing_normal"
|
android:layout_marginEnd="@dimen/element_spacing_normal"
|
||||||
android:layout_marginRight="@dimen/element_spacing_normal"
|
android:layout_marginRight="@dimen/element_spacing_normal"
|
||||||
android:contentDescription="@string/profile_image"
|
android:contentDescription="@string/profile_image"
|
||||||
|
android:contextClickable="true"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
tools:src="@drawable/ic_profile_image_twidere"
|
tools:src="@drawable/ic_profile_image_twidere"/>
|
||||||
android:contextClickable="true"/>
|
|
||||||
|
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.NameView
|
<org.mariotaku.twidere.view.NameView
|
||||||
@ -104,9 +104,9 @@
|
|||||||
android:drawableLeft="@drawable/ic_indicator_followers"
|
android:drawableLeft="@drawable/ic_indicator_followers"
|
||||||
android:drawablePadding="4dp"
|
android:drawablePadding="4dp"
|
||||||
android:drawableStart="@drawable/ic_indicator_followers"
|
android:drawableStart="@drawable/ic_indicator_followers"
|
||||||
|
android:maxLines="1"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
tools:text="255"
|
tools:text="255"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
android:id="@+id/adminsCount"
|
android:id="@+id/adminsCount"
|
||||||
@ -116,9 +116,9 @@
|
|||||||
android:drawableLeft="@drawable/ic_indicator_followers"
|
android:drawableLeft="@drawable/ic_indicator_followers"
|
||||||
android:drawablePadding="4dp"
|
android:drawablePadding="4dp"
|
||||||
android:drawableStart="@drawable/ic_indicator_followers"
|
android:drawableStart="@drawable/ic_indicator_followers"
|
||||||
|
android:maxLines="1"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
tools:text="255"
|
tools:text="255"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</org.mariotaku.twidere.view.ColorLabelRelativeLayout>
|
</org.mariotaku.twidere.view.ColorLabelRelativeLayout>
|
@ -19,9 +19,9 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<ViewAnimator
|
<ViewAnimator
|
||||||
android:id="@+id/viewAnimator"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/viewAnimator"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inAnimation="@android:anim/fade_in"
|
android:inAnimation="@android:anim/fade_in"
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.ExtendedLinearLayout
|
<org.mariotaku.twidere.view.ExtendedLinearLayout
|
||||||
android:id="@+id/keyboard_shortcut_input"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/keyboard_shortcut_input"
|
||||||
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"
|
||||||
|
@ -19,14 +19,14 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:id="@+id/status_container"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/status_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingTop="@dimen/element_spacing_normal"
|
|
||||||
android:paddingBottom="@dimen/element_spacing_normal"
|
android:paddingBottom="@dimen/element_spacing_normal"
|
||||||
android:paddingLeft="@dimen/element_spacing_large"
|
android:paddingLeft="@dimen/element_spacing_large"
|
||||||
android:paddingRight="@dimen/element_spacing_large">
|
android:paddingRight="@dimen/element_spacing_large"
|
||||||
|
android:paddingTop="@dimen/element_spacing_normal">
|
||||||
|
|
||||||
<include layout="@layout/list_item_status"/>
|
<include layout="@layout/list_item_status"/>
|
||||||
|
|
||||||
|
@ -42,11 +42,11 @@
|
|||||||
android:ems="10"
|
android:ems="10"
|
||||||
android:hint="@string/consumer_key"
|
android:hint="@string/consumer_key"
|
||||||
android:inputType="text|textVisiblePassword"
|
android:inputType="text|textVisiblePassword"
|
||||||
|
android:maxLines="1"
|
||||||
app:met_autoValidate="true"
|
app:met_autoValidate="true"
|
||||||
app:met_baseColor="?android:textColorPrimary"
|
app:met_baseColor="?android:textColorPrimary"
|
||||||
app:met_floatingLabel="normal"
|
app:met_floatingLabel="normal"
|
||||||
app:met_floatingLabelText="@string/consumer_key"
|
app:met_floatingLabelText="@string/consumer_key"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
|
|
||||||
<com.rengwuxian.materialedittext.MaterialEditText
|
<com.rengwuxian.materialedittext.MaterialEditText
|
||||||
android:id="@+id/editConsumerSecret"
|
android:id="@+id/editConsumerSecret"
|
||||||
@ -55,11 +55,11 @@
|
|||||||
android:ems="10"
|
android:ems="10"
|
||||||
android:hint="@string/consumer_secret"
|
android:hint="@string/consumer_secret"
|
||||||
android:inputType="text|textVisiblePassword"
|
android:inputType="text|textVisiblePassword"
|
||||||
|
android:maxLines="1"
|
||||||
app:met_autoValidate="true"
|
app:met_autoValidate="true"
|
||||||
app:met_baseColor="?android:textColorPrimary"
|
app:met_baseColor="?android:textColorPrimary"
|
||||||
app:met_floatingLabel="normal"
|
app:met_floatingLabel="normal"
|
||||||
app:met_floatingLabelText="@string/consumer_secret"
|
app:met_floatingLabelText="@string/consumer_secret"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
@ -18,10 +18,10 @@
|
|||||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
<android.support.design.widget.NavigationView
|
<android.support.design.widget.NavigationView
|
||||||
android:id="@+id/navigationView"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/navigationView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:id="@+id/status_container"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/status_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.TintedStatusFrameLayout
|
<org.mariotaku.twidere.view.TintedStatusFrameLayout
|
||||||
android:id="@+id/userFragmentView"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/userFragmentView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:fitsSystemWindows="true"
|
android:fitsSystemWindows="true"
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/main_content"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/main_content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
@ -58,7 +58,6 @@
|
|||||||
android:layout_marginRight="@dimen/element_spacing_minus_mlarge"
|
android:layout_marginRight="@dimen/element_spacing_minus_mlarge"
|
||||||
android:layout_marginTop="@dimen/element_spacing_minus_mlarge"
|
android:layout_marginTop="@dimen/element_spacing_minus_mlarge"
|
||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
|
||||||
android:contentDescription="@string/remove"
|
android:contentDescription="@string/remove"
|
||||||
app:touchHeight="@dimen/element_size_normal"
|
app:touchHeight="@dimen/element_size_normal"
|
||||||
app:touchWidth="@dimen/element_size_normal">
|
app:touchWidth="@dimen/element_size_normal">
|
||||||
@ -82,7 +81,6 @@
|
|||||||
android:layout_marginEnd="@dimen/element_spacing_minus_mlarge"
|
android:layout_marginEnd="@dimen/element_spacing_minus_mlarge"
|
||||||
android:layout_marginRight="@dimen/element_spacing_minus_mlarge"
|
android:layout_marginRight="@dimen/element_spacing_minus_mlarge"
|
||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
|
||||||
android:contentDescription="@string/action_edit"
|
android:contentDescription="@string/action_edit"
|
||||||
app:touchHeight="@dimen/element_size_normal"
|
app:touchHeight="@dimen/element_size_normal"
|
||||||
app:touchWidth="@dimen/element_size_normal">
|
app:touchWidth="@dimen/element_size_normal">
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.AccountDashboardHeaderView
|
<org.mariotaku.twidere.view.AccountDashboardHeaderView
|
||||||
android:id="@+id/accountDashboardHeader"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/accountDashboardHeader"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:descendantFocusability="blocksDescendants"
|
android:descendantFocusability="blocksDescendants"
|
||||||
@ -191,6 +191,7 @@
|
|||||||
android:layout_alignBottom="@+id/profileContainer"
|
android:layout_alignBottom="@+id/profileContainer"
|
||||||
android:layout_alignTop="@+id/profileContainer"
|
android:layout_alignTop="@+id/profileContainer"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
tools:visibility="gone">
|
tools:visibility="gone">
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
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"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/cardContent"
|
android:id="@+id/cardContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/headerUserProfile"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/headerUserProfile"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
tools:showIn="@layout/fragment_user">
|
tools:showIn="@layout/fragment_user">
|
||||||
@ -175,6 +175,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="@dimen/element_spacing_small">
|
android:padding="@dimen/element_spacing_small">
|
||||||
|
|
||||||
@ -195,6 +196,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:padding="@dimen/element_spacing_small">
|
android:padding="@dimen/element_spacing_small">
|
||||||
@ -224,6 +226,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:padding="@dimen/element_spacing_small">
|
android:padding="@dimen/element_spacing_small">
|
||||||
@ -253,6 +256,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:padding="@dimen/element_spacing_small">
|
android:padding="@dimen/element_spacing_small">
|
||||||
@ -290,6 +294,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="@dimen/element_spacing_small">
|
android:padding="@dimen/element_spacing_small">
|
||||||
@ -320,6 +325,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="@dimen/element_spacing_small">
|
android:padding="@dimen/element_spacing_small">
|
||||||
@ -350,6 +356,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="@dimen/element_spacing_small">
|
android:padding="@dimen/element_spacing_small">
|
||||||
@ -380,6 +387,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="@dimen/element_spacing_small">
|
android:padding="@dimen/element_spacing_small">
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/profileBanner"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/profileBanner"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="fill"
|
android:layout_gravity="fill"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
style="?actionButtonStyle"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
style="?actionButtonStyle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
@ -10,8 +10,8 @@
|
|||||||
android:focusable="true">
|
android:focusable="true">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/icon"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/icon"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/advanced_api_config"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/advanced_api_config"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
@ -58,11 +58,11 @@
|
|||||||
android:ems="10"
|
android:ems="10"
|
||||||
android:hint="@string/consumer_key"
|
android:hint="@string/consumer_key"
|
||||||
android:inputType="text|textVisiblePassword"
|
android:inputType="text|textVisiblePassword"
|
||||||
|
android:maxLines="1"
|
||||||
app:met_baseColor="?android:textColorPrimary"
|
app:met_baseColor="?android:textColorPrimary"
|
||||||
app:met_floatingLabel="normal"
|
app:met_floatingLabel="normal"
|
||||||
app:met_floatingLabelText="@string/consumer_key"
|
app:met_floatingLabelText="@string/consumer_key"
|
||||||
tools:text="0123456789ABCD"
|
tools:text="0123456789ABCD"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
|
|
||||||
<com.rengwuxian.materialedittext.MaterialEditText
|
<com.rengwuxian.materialedittext.MaterialEditText
|
||||||
android:id="@+id/editConsumerSecret"
|
android:id="@+id/editConsumerSecret"
|
||||||
@ -71,10 +71,10 @@
|
|||||||
android:ems="10"
|
android:ems="10"
|
||||||
android:hint="@string/consumer_secret"
|
android:hint="@string/consumer_secret"
|
||||||
android:inputType="text|textVisiblePassword"
|
android:inputType="text|textVisiblePassword"
|
||||||
|
android:maxLines="1"
|
||||||
app:met_baseColor="?android:textColorPrimary"
|
app:met_baseColor="?android:textColorPrimary"
|
||||||
app:met_floatingLabel="normal"
|
app:met_floatingLabel="normal"
|
||||||
app:met_floatingLabelText="@string/consumer_secret"
|
app:met_floatingLabelText="@string/consumer_secret"
|
||||||
tools:text="0123456789ABCD"
|
tools:text="0123456789ABCD"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -19,9 +19,9 @@
|
|||||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
<com.google.android.exoplayer2.ui.SimpleExoPlayerView
|
<com.google.android.exoplayer2.ui.SimpleExoPlayerView
|
||||||
android:id="@+id/playerView"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:id="@+id/playerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
<pl.droidsonroids.gif.GifTextureView
|
<pl.droidsonroids.gif.GifTextureView
|
||||||
android:id="@+id/gifView"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/gifView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"/>
|
android:layout_height="match_parent"/>
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="center">
|
android:layout_gravity="center">
|
||||||
|
@ -18,22 +18,23 @@
|
|||||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/videoControl"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/videoControl"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_gravity="bottom"
|
|
||||||
android:layout_height="?actionBarSize"
|
android:layout_height="?actionBarSize"
|
||||||
|
android:layout_gravity="bottom"
|
||||||
android:background="@drawable/bg_viewer_actionbar"
|
android:background="@drawable/bg_viewer_actionbar"
|
||||||
android:clickable="true">
|
android:clickable="true"
|
||||||
|
android:focusable="true">
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/playPauseContainer"
|
android:id="@+id/playPauseContainer"
|
||||||
android:layout_width="@dimen/element_size_normal"
|
android:layout_width="@dimen/element_size_normal"
|
||||||
android:layout_height="@dimen/element_size_normal"
|
android:layout_height="@dimen/element_size_normal"
|
||||||
android:layout_centerVertical="true"
|
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_alignParentStart="true">
|
android:layout_alignParentStart="true"
|
||||||
|
android:layout_centerVertical="true">
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@id/exo_play"
|
android:id="@id/exo_play"
|
||||||
@ -42,6 +43,7 @@
|
|||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/exo_controls_play_description"
|
android:contentDescription="@string/exo_controls_play_description"
|
||||||
|
android:focusable="true"
|
||||||
android:src="@drawable/ic_action_play_arrow"
|
android:src="@drawable/ic_action_play_arrow"
|
||||||
tools:visibility="visible"/>
|
tools:visibility="visible"/>
|
||||||
|
|
||||||
@ -52,6 +54,7 @@
|
|||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/exo_controls_pause_description"
|
android:contentDescription="@string/exo_controls_pause_description"
|
||||||
|
android:focusable="true"
|
||||||
android:src="@drawable/ic_action_pause"
|
android:src="@drawable/ic_action_pause"
|
||||||
tools:visibility="gone"/>
|
tools:visibility="gone"/>
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
@ -61,8 +64,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignLeft="@id/exo_progress"
|
android:layout_alignLeft="@id/exo_progress"
|
||||||
android:layout_alignStart="@id/exo_progress"
|
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_alignStart="@id/exo_progress"
|
||||||
android:layout_marginBottom="@dimen/element_spacing_xsmall"
|
android:layout_marginBottom="@dimen/element_spacing_xsmall"
|
||||||
android:layout_marginLeft="@dimen/element_spacing_small"
|
android:layout_marginLeft="@dimen/element_spacing_small"
|
||||||
android:layout_marginStart="@dimen/element_spacing_small"
|
android:layout_marginStart="@dimen/element_spacing_small"
|
||||||
@ -85,9 +88,9 @@
|
|||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
android:id="@id/exo_duration"
|
android:id="@id/exo_duration"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignEnd="@id/exo_progress"
|
android:layout_alignEnd="@id/exo_progress"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_alignRight="@id/exo_progress"
|
android:layout_alignRight="@id/exo_progress"
|
||||||
android:layout_marginBottom="@dimen/element_spacing_xsmall"
|
android:layout_marginBottom="@dimen/element_spacing_xsmall"
|
||||||
android:layout_marginEnd="@dimen/element_spacing_small"
|
android:layout_marginEnd="@dimen/element_spacing_small"
|
||||||
@ -107,6 +110,7 @@
|
|||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/action_mute"
|
android:contentDescription="@string/action_mute"
|
||||||
|
android:focusable="true"
|
||||||
android:minWidth="@dimen/element_size_normal"
|
android:minWidth="@dimen/element_size_normal"
|
||||||
android:src="@drawable/ic_action_speaker_max"/>
|
android:src="@drawable/ic_action_speaker_max"/>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<SurfaceView
|
<SurfaceView
|
||||||
android:id="@+id/surfaceView"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/surfaceView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"/>
|
android:layout_height="match_parent"/>
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
android:ellipsize="none"
|
android:ellipsize="none"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:padding="@dimen/element_spacing_xsmall"
|
android:padding="@dimen/element_spacing_xsmall"
|
||||||
android:textColor="@android:color/white"
|
android:singleLine="true"
|
||||||
android:maxLines="1"/>
|
android:textColor="@android:color/white"/>
|
||||||
|
|
||||||
</view>
|
</view>
|
@ -19,14 +19,13 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/conversationTitleContainer"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/conversationTitleContainer"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
tools:layout_height="?actionBarSize">
|
tools:layout_height="?actionBarSize">
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/fragmentCardPoll"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/fragmentCardPoll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/profileBirthdayBanner"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/profileBirthdayBanner"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
@ -30,15 +30,15 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:maxLines="1"
|
||||||
android:maxLines="1"/>
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
android:id="@android:id/text2"
|
android:id="@android:id/text2"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:maxLines="1"
|
||||||
android:maxLines="1"/>
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
||||||
android:id="@+id/itemContent"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/itemContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
|
@ -44,9 +44,9 @@
|
|||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
|
android:maxLines="1"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.ColorLabelLinearLayout
|
<org.mariotaku.twidere.view.ColorLabelLinearLayout
|
||||||
android:id="@+id/content"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?android:activatedBackgroundIndicator"
|
android:background="?android:activatedBackgroundIndicator"
|
||||||
|
@ -43,9 +43,9 @@
|
|||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
|
android:maxLines="1"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
|
|
||||||
<CheckBox
|
<CheckBox
|
||||||
android:id="@android:id/checkbox"
|
android:id="@android:id/checkbox"
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
||||||
android:id="@+id/content"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
<!-- Layout of a header item in PreferenceActivity. -->
|
<!-- Layout of a header item in PreferenceActivity. -->
|
||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@android:id/title"
|
android:id="@android:id/title"
|
||||||
style="?android:listSeparatorTextViewStyle"
|
style="?android:listSeparatorTextViewStyle"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
|
@ -19,7 +19,8 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
android:id="@+id/text"
|
android:id="@+id/text"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
android:id="@+id/sectionHeader"
|
|
||||||
style="?android:listSeparatorTextViewStyle"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/sectionHeader"
|
||||||
|
style="?android:listSeparatorTextViewStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="?colorAccent"
|
android:textColor="?colorAccent"
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@android:id/text1"
|
android:id="@android:id/text1"
|
||||||
style="?android:listSeparatorTextViewStyle"
|
style="?android:listSeparatorTextViewStyle"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/listItem"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/listItem"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/listItem"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/listItem"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
||||||
android:id="@+id/itemContent"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/itemContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
@ -215,6 +215,7 @@
|
|||||||
android:layout_marginTop="@dimen/element_spacing_small"
|
android:layout_marginTop="@dimen/element_spacing_small"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:paddingBottom="@dimen/element_spacing_small"
|
android:paddingBottom="@dimen/element_spacing_small"
|
||||||
android:paddingEnd="@dimen/element_spacing_small"
|
android:paddingEnd="@dimen/element_spacing_small"
|
||||||
android:paddingLeft="@dimen/element_spacing_normal"
|
android:paddingLeft="@dimen/element_spacing_normal"
|
||||||
@ -334,7 +335,6 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="false">
|
android:focusable="false">
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.IconActionView
|
<org.mariotaku.twidere.view.IconActionView
|
||||||
@ -373,7 +373,6 @@
|
|||||||
android:layout_marginLeft="@dimen/element_spacing_small"
|
android:layout_marginLeft="@dimen/element_spacing_small"
|
||||||
android:layout_marginStart="@dimen/element_spacing_small"
|
android:layout_marginStart="@dimen/element_spacing_small"
|
||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="false">
|
android:focusable="false">
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.IconActionView
|
<org.mariotaku.twidere.view.IconActionView
|
||||||
@ -413,7 +412,6 @@
|
|||||||
android:layout_marginLeft="@dimen/element_spacing_small"
|
android:layout_marginLeft="@dimen/element_spacing_small"
|
||||||
android:layout_marginStart="@dimen/element_spacing_small"
|
android:layout_marginStart="@dimen/element_spacing_small"
|
||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="false">
|
android:focusable="false">
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.IconActionView
|
<org.mariotaku.twidere.view.IconActionView
|
||||||
|
@ -60,10 +60,10 @@
|
|||||||
android:id="@android:id/text1"
|
android:id="@android:id/text1"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:maxLines="1"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"
|
||||||
tools:text="Mariotaku"
|
tools:text="Mariotaku"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -54,10 +54,10 @@
|
|||||||
android:id="@android:id/text1"
|
android:id="@android:id/text1"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:maxLines="1"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"
|
||||||
tools:text="Mariotaku"
|
tools:text="Mariotaku"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
android:id="@android:id/text2"
|
android:id="@android:id/text2"
|
||||||
@ -65,10 +65,10 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="@dimen/element_spacing_small"
|
android:layout_marginLeft="@dimen/element_spacing_small"
|
||||||
android:layout_marginStart="@dimen/element_spacing_small"
|
android:layout_marginStart="@dimen/element_spacing_small"
|
||||||
|
android:maxLines="1"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
tools:text="\@mariotaku"
|
tools:text="\@mariotaku"/>
|
||||||
android:maxLines="1"/>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
||||||
android:id="@+id/itemContent"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/itemContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
||||||
android:id="@+id/itemContent"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/itemContent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?selectableItemBackground"
|
android:background="?selectableItemBackground"
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<org.mariotaku.twidere.view.FixedTextView
|
<org.mariotaku.twidere.view.FixedTextView
|
||||||
android:id="@android:id/text1"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:id="@android:id/text1"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?android:activatedBackgroundIndicator"
|
android:background="?android:activatedBackgroundIndicator"
|
||||||
|
@ -6,18 +6,18 @@
|
|||||||
android:id="@id/select_account"
|
android:id="@id/select_account"
|
||||||
android:actionProviderClass="org.mariotaku.twidere.menu.AccountActionProvider"
|
android:actionProviderClass="org.mariotaku.twidere.menu.AccountActionProvider"
|
||||||
android:icon="@drawable/ic_action_user"
|
android:icon="@drawable/ic_action_user"
|
||||||
app:showAsAction="always"
|
android:title="@string/select_account"
|
||||||
android:title="@string/select_account"/>
|
app:showAsAction="always"/>
|
||||||
<item
|
<item
|
||||||
android:id="@id/reply"
|
android:id="@id/reply"
|
||||||
android:icon="@drawable/ic_action_reply"
|
android:icon="@drawable/ic_action_reply"
|
||||||
app:showAsAction="always"
|
android:title="@string/action_reply"
|
||||||
android:title="@string/action_reply"/>
|
app:showAsAction="always"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/mute_submenu"
|
android:id="@+id/mute_submenu"
|
||||||
android:icon="@drawable/ic_action_speaker_muted"
|
android:icon="@drawable/ic_action_speaker_muted"
|
||||||
app:showAsAction="ifRoom"
|
android:title="@string/action_add_to_filter"
|
||||||
android:title="@string/action_add_to_filter">
|
app:showAsAction="ifRoom">
|
||||||
<menu>
|
<menu>
|
||||||
<item
|
<item
|
||||||
android:id="@id/mute_user"
|
android:id="@id/mute_user"
|
||||||
@ -31,8 +31,8 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@+id/block_submenu"
|
android:id="@+id/block_submenu"
|
||||||
android:icon="@drawable/ic_action_block"
|
android:icon="@drawable/ic_action_block"
|
||||||
app:showAsAction="ifRoom"
|
android:title="@string/action_block"
|
||||||
android:title="@string/action_block">
|
app:showAsAction="ifRoom">
|
||||||
<menu>
|
<menu>
|
||||||
<item
|
<item
|
||||||
android:id="@id/block"
|
android:id="@id/block"
|
||||||
@ -46,8 +46,8 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@+id/report_spam_submenu"
|
android:id="@+id/report_spam_submenu"
|
||||||
android:icon="@drawable/ic_action_warning"
|
android:icon="@drawable/ic_action_warning"
|
||||||
app:showAsAction="ifRoom"
|
android:title="@string/report_for_spam"
|
||||||
android:title="@string/report_for_spam">
|
app:showAsAction="ifRoom">
|
||||||
<menu>
|
<menu>
|
||||||
<item
|
<item
|
||||||
android:id="@id/report_spam"
|
android:id="@id/report_spam"
|
||||||
|
@ -23,6 +23,6 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@id/add_account"
|
android:id="@id/add_account"
|
||||||
android:icon="@drawable/ic_action_add"
|
android:icon="@drawable/ic_action_add"
|
||||||
app:showAsAction="ifRoom"
|
android:title="@string/add_account"
|
||||||
android:title="@string/add_account"/>
|
app:showAsAction="ifRoom"/>
|
||||||
</menu>
|
</menu>
|
@ -5,7 +5,7 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@id/add"
|
android:id="@id/add"
|
||||||
android:icon="@drawable/ic_action_add"
|
android:icon="@drawable/ic_action_add"
|
||||||
app:showAsAction="always"
|
android:title="@string/action_add_filter_rule"
|
||||||
android:title="@string/action_add_filter_rule"/>
|
app:showAsAction="always"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -5,7 +5,7 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@+id/add"
|
android:id="@+id/add"
|
||||||
android:icon="@drawable/ic_action_add"
|
android:icon="@drawable/ic_action_add"
|
||||||
app:showAsAction="always"
|
android:title="@string/add_host_mapping"
|
||||||
android:title="@string/add_host_mapping"/>
|
app:showAsAction="always"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -22,7 +22,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
<item
|
<item
|
||||||
android:id="@id/save"
|
android:id="@id/save"
|
||||||
app:showAsAction="always"
|
android:icon="@drawable/ic_action_confirm"
|
||||||
android:title="@string/action_save"
|
android:title="@string/action_save"
|
||||||
android:icon="@drawable/ic_action_confirm"/>
|
app:showAsAction="always"/>
|
||||||
</menu>
|
</menu>
|
@ -5,12 +5,12 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@id/compose"
|
android:id="@id/compose"
|
||||||
android:icon="@drawable/ic_action_status_compose"
|
android:icon="@drawable/ic_action_status_compose"
|
||||||
app:showAsAction="always"
|
android:title="@string/action_compose"
|
||||||
android:title="@string/action_compose"/>
|
app:showAsAction="always"/>
|
||||||
<item
|
<item
|
||||||
android:id="@id/save"
|
android:id="@id/save"
|
||||||
android:icon="@drawable/ic_action_save"
|
android:icon="@drawable/ic_action_save"
|
||||||
app:showAsAction="ifRoom"
|
android:title="@string/action_save"
|
||||||
android:title="@string/action_save"/>
|
app:showAsAction="ifRoom"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@id/toggle"
|
android:id="@id/toggle"
|
||||||
|
android:title="@string/action_toggle"
|
||||||
app:actionLayout="@layout/action_item_switch"
|
app:actionLayout="@layout/action_item_switch"
|
||||||
app:showAsAction="always"
|
app:showAsAction="always"/>
|
||||||
android:title="@string/action_toggle"/>
|
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -6,14 +6,14 @@
|
|||||||
android:id="@id/info"
|
android:id="@id/info"
|
||||||
android:icon="@drawable/ic_action_info"
|
android:icon="@drawable/ic_action_info"
|
||||||
android:title="@string/user_list_details"
|
android:title="@string/user_list_details"
|
||||||
app:showAsAction="ifRoom"
|
android:visible="false"
|
||||||
android:visible="false" />
|
app:showAsAction="ifRoom"/>
|
||||||
<item
|
<item
|
||||||
android:id="@id/follow"
|
android:id="@id/follow"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
app:showAsAction="ifRoom"
|
|
||||||
android:icon="@drawable/ic_action_add"
|
android:icon="@drawable/ic_action_add"
|
||||||
android:title="@string/action_subscribe" />
|
android:title="@string/action_subscribe"
|
||||||
|
app:showAsAction="ifRoom"/>
|
||||||
<item
|
<item
|
||||||
android:id="@id/edit"
|
android:id="@id/edit"
|
||||||
android:icon="@drawable/ic_action_edit"
|
android:icon="@drawable/ic_action_edit"
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
<!-- The platform's desired fixed width for a dialog along the major axis
|
<!-- The platform's desired fixed width for a dialog along the major axis
|
||||||
(the screen is in landscape). This may be either a fraction or a dimension.-->
|
(the screen is in landscape). This may be either a fraction or a dimension.-->
|
||||||
<item type="dimen" name="dialog_fixed_width_major">100%</item>
|
<item name="dialog_fixed_width_major" type="dimen">100%</item>
|
||||||
<!-- The platform's desired fixed width for a dialog along the minor axis
|
<!-- The platform's desired fixed width for a dialog along the minor axis
|
||||||
(the screen is in portrait). This may be either a fraction or a dimension.-->
|
(the screen is in portrait). This may be either a fraction or a dimension.-->
|
||||||
<item type="dimen" name="dialog_fixed_width_minor">100%</item>
|
<item name="dialog_fixed_width_minor" type="dimen">100%</item>
|
||||||
<!-- The platform's desired fixed height for a dialog along the major axis
|
<!-- The platform's desired fixed height for a dialog along the major axis
|
||||||
(the screen is in portrait). This may be either a fraction or a dimension.-->
|
(the screen is in portrait). This may be either a fraction or a dimension.-->
|
||||||
<item type="dimen" name="dialog_fixed_height_major">80%</item>
|
<item name="dialog_fixed_height_major" type="dimen">80%</item>
|
||||||
<!-- The platform's desired fixed height for a dialog along the minor axis
|
<!-- The platform's desired fixed height for a dialog along the minor axis
|
||||||
(the screen is in landscape). This may be either a fraction or a dimension.-->
|
(the screen is in landscape). This may be either a fraction or a dimension.-->
|
||||||
<item type="dimen" name="dialog_fixed_height_minor">100%</item>
|
<item name="dialog_fixed_height_minor" type="dimen">100%</item>
|
||||||
</resources>
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user