Cherish:Optional screenshot type [1/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -278,4 +278,15 @@
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Screenshot type -->
|
||||
<string-array name="screenshot_type_entries">
|
||||
<item>@string/screenshot_type_fullscreen</item>
|
||||
<item>@string/screenshot_type_partial</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="screenshot_type_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -368,4 +368,11 @@
|
||||
<string name="network_traffic_layout_h">Horizontal</string>
|
||||
<string name="network_traffic_layout_v">Vertical</string>
|
||||
<string name="net_traffic_font">Fonts</string>
|
||||
|
||||
<!-- Screenshot -->
|
||||
<string name="screenshot_type_title">Screenshot type</string>
|
||||
<string name="screenshot_type_fullscreen">Take fullscreen screenshots</string>
|
||||
<string name="screenshot_type_partial">Drag selection on the area you want to take as a screenshot</string>
|
||||
<string name="screenshot_options_category">Screenshot options</string>
|
||||
<string name="screenshot_options_summary">Customize screenshot attributes like time, delay,type etc</string>
|
||||
</resources>
|
||||
|
||||
@@ -24,4 +24,12 @@
|
||||
android:title="@string/wakeup_when_plugged_unplugged_title"
|
||||
android:summary="@string/wakeup_when_plugged_unplugged_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="screenshot_type"
|
||||
android:icon="@drawable/ic_screenshot"
|
||||
android:entries="@array/screenshot_type_entries"
|
||||
android:entryValues="@array/screenshot_type_values"
|
||||
android:title="@string/screenshot_type_title"
|
||||
android:defaultValue="0" />
|
||||
</PreferenceScreen>
|
||||
|
||||
@@ -30,7 +30,7 @@ import java.util.HashSet;
|
||||
|
||||
import com.android.settings.SettingsPreferenceFragment;
|
||||
import com.cherish.settings.preferences.SystemSettingMasterSwitchPreference;
|
||||
|
||||
import com.cherish.settings.preferences.SystemSettingListPreference
|
||||
public class MiscSettings extends SettingsPreferenceFragment implements
|
||||
OnPreferenceChangeListener {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user