@@ -103,6 +103,9 @@ public static int findBacklightSettingIndex( int value ) {
103103 int [] mMargins = new int [] {
104104 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 15 , 20 , 25 , 30 , 40 , 50 , 60 , 80 , 100 , 130 , 150 , 200 , 300
105105 };
106+ int [] mRoundedCornersMargins = new int [] {
107+ 0 , 5 , 10 , 15 , 20 , 30 , 40 , 50 , 60 , 70 ,80 , 90 , 100 , 120 , 140 , 160
108+ };
106109 double [] mGammas = new double [] {
107110 0.3 , 0.4 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1.0 , 1.1 , 1.2 , 1.3 , 1.5 , 1.9
108111 };
@@ -756,6 +759,7 @@ public void onSelect() {
756759 BaseDialog dlg = new BaseDialog (mActivity , label , false , false );
757760 OptionsListView listView = new OptionsListView (getContext ());
758761 listView .add (new ListOption (mOwner , getString (R .string .options_page_show_titlebar ), PROP_STATUS_LOCATION ).add (mStatusPositions , mStatusPositionsTitles ).setDefaultValue ("1" ));
762+ listView .add (new ListOption (mOwner , getString (R .string .options_rounded_corners_margin ), PROP_ROUNDED_CORNERS_MARGIN ).add (mRoundedCornersMargins ).setDefaultValue ("0" ));
759763 listView .add (new ListOption (mOwner , getString (R .string .options_page_titlebar_font_face ), PROP_STATUS_FONT_FACE ).add (mFontFaces ).setDefaultValue (mFontFaces [0 ]).setIconIdByAttr (R .attr .cr3_option_font_face_drawable , R .drawable .cr3_option_font_face ));
760764 listView .add (new ListOption (mOwner , getString (R .string .options_page_titlebar_font_size ), PROP_STATUS_FONT_SIZE ).add (filterFontSizes (mStatusFontSizes )).setDefaultValue ("18" ).setIconIdByAttr (R .attr .cr3_option_font_size_drawable , R .drawable .cr3_option_font_size ));
761765 listView .add (new ColorOption (mOwner , getString (R .string .options_page_titlebar_font_color ), PROP_STATUS_FONT_COLOR , 0x000000 ));
@@ -1952,7 +1956,7 @@ private void setupReaderOptions()
19521956 mOptionsPage .add (new ListOption (this , getString (R .string .options_page_margin_right ), PROP_PAGE_MARGIN_RIGHT ).add (mMargins ).setDefaultValue ("5" ).setIconIdByAttr (R .attr .cr3_option_text_margin_right_drawable , R .drawable .cr3_option_text_margin_right ));
19531957 mOptionsPage .add (new ListOption (this , getString (R .string .options_page_margin_top ), PROP_PAGE_MARGIN_TOP ).add (mMargins ).setDefaultValue ("5" ).setIconIdByAttr (R .attr .cr3_option_text_margin_top_drawable , R .drawable .cr3_option_text_margin_top ));
19541958 mOptionsPage .add (new ListOption (this , getString (R .string .options_page_margin_bottom ), PROP_PAGE_MARGIN_BOTTOM ).add (mMargins ).setDefaultValue ("5" ).setIconIdByAttr (R .attr .cr3_option_text_margin_bottom_drawable , R .drawable .cr3_option_text_margin_bottom ));
1955-
1959+
19561960 mOptionsControls = new OptionsListView (getContext ());
19571961 mOptionsControls .add (new KeyMapOption (this , getString (R .string .options_app_key_actions )).setIconIdByAttr (R .attr .cr3_option_controls_keys_drawable , R .drawable .cr3_option_controls_keys ));
19581962 mOptionsControls .add (new TapZoneOption (this , getString (R .string .options_app_tapzones_normal ), PROP_APP_TAP_ZONE_ACTIONS_TAP ).setIconIdByAttr (R .attr .cr3_option_controls_tapzones_drawable , R .drawable .cr3_option_controls_tapzones ));
0 commit comments