Skip to content

Commit 549589a

Browse files
committed
menu padding
1 parent 355d0f8 commit 549589a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

app/src/main/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ set(LIBDOBBY_PATH ${CMAKE_CURRENT_SOURCE_DIR}/Dobby/${CMAKE_ANDROID_ARCH_ABI}/li
4040
# used in the AndroidManifest.xml file.
4141
add_library(${CMAKE_PROJECT_NAME} SHARED
4242
# List C/C++ source files with relative paths to this CMakeLists.txt.
43-
wet-wealth.cpp
43+
horny-villa.cpp
4444
)
4545

4646
# Specifies libraries CMake should link to your target library. You

app/src/main/java/com/android/support/Menu.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ const val MENU_WIDTH = 290
4949
val MENU_BG_COLOR = "#EE1C2A35".toColorInt()//#AARRGGBB
5050
val MENU_FEATURE_BG_COLOR = "#DD141C22".toColorInt() //#AARRGGBB
5151

52-
@Suppress("SpellCheckingInspection")
5352
val TEXT_COLOR = "#82CAFD".toColorInt()
5453
val TEXT_COLOR_2 = "#FFFFFF".toColorInt()
5554
val CATEGORY_BG_COLOR = "#2F3D4C".toColorInt()
@@ -247,6 +246,7 @@ class Menu(val context: Activity) {
247246
)
248247
scrollView.layoutParams = layoutParams
249248
scrollView.setBackgroundColor(MENU_FEATURE_BG_COLOR)
249+
scrollView.setPadding(10)
250250
val mods = LinearLayout(context)
251251
mods.orientation = LinearLayout.VERTICAL
252252
val divider = ShapeDrawable()
@@ -307,7 +307,6 @@ class Menu(val context: Activity) {
307307
valueChange(featIdx, featName, if (value) 1 else 0)
308308
}
309309

310-
@Suppress("UNCHECKED_CAST")
311310
fun <T> read(key: String, defaultValue: T): T {
312311
return when (defaultValue) {
313312
is String -> sharedPreferences.getString(key, defaultValue)

0 commit comments

Comments
 (0)