アプリ設定にアニメーションのセクションを設ける
This commit is contained in:
parent
c741c7de39
commit
c1d83fc674
|
@ -100,8 +100,8 @@ class ActAppSetting : AppCompatActivity() {
|
|||
openChild(it, R.layout.act_app_setting_media_attachment)
|
||||
},
|
||||
|
||||
genItem(R.string.emoji) {
|
||||
openChild(it, R.layout.act_app_setting_emoji)
|
||||
genItem(R.string.animation) {
|
||||
openChild(it, R.layout.act_app_setting_animation)
|
||||
},
|
||||
|
||||
genItem(R.string.appearance) {
|
||||
|
|
|
@ -23,6 +23,23 @@
|
|||
|
||||
<View style="@style/setting_divider"/>
|
||||
|
||||
<TextView
|
||||
style="@style/setting_row_label"
|
||||
android:text="@string/enable_gif_animation"
|
||||
/>
|
||||
|
||||
<LinearLayout style="@style/setting_row_form">
|
||||
|
||||
<Switch
|
||||
android:id="@+id/swEnableGifAnimation"
|
||||
style="@style/setting_horizontal_stretch"
|
||||
android:gravity="center"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View style="@style/setting_divider"/>
|
||||
|
||||
<TextView
|
||||
style="@style/setting_row_label"
|
||||
android:text="@string/disable_custom_emoji_animation"
|
||||
|
@ -40,7 +57,5 @@
|
|||
|
||||
<View style="@style/setting_divider"/>
|
||||
|
||||
<!-- =============================================== -->
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
|
@ -74,22 +74,7 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
<View style="@style/setting_divider"/>
|
||||
|
||||
<TextView
|
||||
style="@style/setting_row_label"
|
||||
android:text="@string/enable_gif_animation"
|
||||
/>
|
||||
|
||||
<LinearLayout style="@style/setting_row_form">
|
||||
|
||||
<Switch
|
||||
android:id="@+id/swEnableGifAnimation"
|
||||
style="@style/setting_horizontal_stretch"
|
||||
android:gravity="center"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View style="@style/setting_divider"/>
|
||||
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
android:id="@+id/etMediaSizeMax"
|
||||
style="@style/setting_horizontal_stretch"
|
||||
android:inputType="number"
|
||||
android:gravity="center"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -71,6 +72,7 @@
|
|||
android:id="@+id/etMovieSizeMax"
|
||||
style="@style/setting_horizontal_stretch"
|
||||
android:inputType="number"
|
||||
android:gravity="center"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -174,6 +176,7 @@
|
|||
android:id="@+id/etQuoteNameFormat"
|
||||
style="@style/setting_horizontal_stretch"
|
||||
android:inputType="text"
|
||||
android:gravity="center"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -813,5 +813,6 @@
|
|||
<string name="quote_renote">引用リノート… (Misskey)</string>
|
||||
<string name="blank_cw">(空欄CW)</string>
|
||||
<string name="actions_for_instance">タンスへのアクション</string>
|
||||
<string name="animation">アニメーション</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -831,5 +831,6 @@
|
|||
<string name="quote_renote">Quoted renote… (Misskey)</string>
|
||||
<string name="blank_cw">(blank CW)</string>
|
||||
<string name="actions_for_instance">Actions for this instance</string>
|
||||
<string name="animation">Animation</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue