@@ -139,6 +139,9 @@ public static int findBacklightSettingIndex( int value ) {
139139 int [] mMargins = new int [] {
140140 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
141141 };
142+ int [] mRoundedCornersMargins = new int [] {
143+ 0 , 5 , 10 , 15 , 20 , 30 , 40 , 50 , 60 , 70 ,80 , 90 , 100 , 120 , 140 , 160
144+ };
142145 double [] mGammas = new double [] {
143146 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
144147 };
@@ -3184,7 +3187,12 @@ private void setupReaderOptions()
31843187 mOptionsPage .add (new ListOption (this , getString (R .string .options_page_margin_right ), PROP_PAGE_MARGIN_RIGHT , getString (R .string .option_add_info_empty_text )).add (mMargins ).setDefaultValue ("5" ).setIconIdByAttr (R .attr .cr3_option_text_margin_right_drawable , R .drawable .cr3_option_text_margin_right ));
31853188 mOptionsPage .add (new ListOption (this , getString (R .string .options_page_margin_top ), PROP_PAGE_MARGIN_TOP , getString (R .string .option_add_info_empty_text )).add (mMargins ).setDefaultValue ("5" ).setIconIdByAttr (R .attr .cr3_option_text_margin_top_drawable , R .drawable .cr3_option_text_margin_top ));
31863189 mOptionsPage .add (new ListOption (this , getString (R .string .options_page_margin_bottom ), PROP_PAGE_MARGIN_BOTTOM , getString (R .string .option_add_info_empty_text )).add (mMargins ).setDefaultValue ("5" ).setIconIdByAttr (R .attr .cr3_option_text_margin_bottom_drawable , R .drawable .cr3_option_text_margin_bottom ));
3187-
3190+ mOptionsPage .add (new ListOption (this , getString (R .string .options_rounded_corners_margin ), PROP_ROUNDED_CORNERS_MARGIN ,
3191+ getString (R .string .option_add_info_empty_text )).add (mRoundedCornersMargins ).setDefaultValue ("0" ))
3192+ //.
3193+ //setIconIdByAttr(R.attr.cr3_option_text_margin_right_drawable, R.drawable.cr3_option_text_margin_right))
3194+ ;
3195+
31883196 mOptionsControls = new OptionsListView (getContext ());
31893197 mOptionsControls .add (new KeyMapOption (this , getString (R .string .options_app_key_actions ), getString (R .string .option_add_info_empty_text )).setIconIdByAttr (R .attr .cr3_option_controls_keys_drawable , R .drawable .cr3_option_controls_keys ));
31903198 mOptionsControls .add (new TapZoneOption (this , getString (R .string .options_app_tapzones_normal ), PROP_APP_TAP_ZONE_ACTIONS_TAP , getString (R .string .option_add_info_empty_text )).setIconIdByAttr (R .attr .cr3_option_controls_tapzones_drawable , R .drawable .cr3_option_controls_tapzones ));
0 commit comments