Skip to content

Commit

Permalink
4Dey99
Browse files Browse the repository at this point in the history
  • Loading branch information
am3n committed Dec 24, 2020
1 parent dd30b70 commit a7373fa
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {

defaultConfig {
applicationId "ir.am3n.needtool.sample"
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 29
versionCode 5
versionName "5.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import android.widget.LinearLayout
import androidx.appcompat.view.ContextThemeWrapper
import androidx.appcompat.widget.AppCompatButton
import com.google.android.material.button.MaterialButton
import ir.am3n.needtool.platekeyboard.R
import ir.am3n.needtool.R
import ir.am3n.needtool.platekeyboard.keyboard.KeyboardListener
import ir.am3n.needtool.platekeyboard.keyboard.controllers.KeyboardController
import ir.am3n.needtool.platekeyboard.utilities.ComponentUtils
Expand Down
21 changes: 21 additions & 0 deletions needtool/src/main/res/values/color.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<color name="black">#000</color>
<color name="gray1">#111</color>
<color name="gray2">#222</color>
<color name="gray3">#333</color>
<color name="gray4">#444</color>
<color name="gray5">#555</color>
<color name="gray6">#666</color>
<color name="gray7">#777</color>
<color name="gray8">#888</color>
<color name="gray9">#999</color>
<color name="graya">#aaa</color>
<color name="grayb">#bbb</color>
<color name="grayc">#ccc</color>
<color name="grayd">#ddd</color>
<color name="graye">#eee</color>
<color name="white">#fff</color>

</resources>
23 changes: 23 additions & 0 deletions needtool/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<style name="button" parent="Widget.AppCompat.Button.Borderless">

<item name="android:insetTop">0dp</item>
<item name="android:insetBottom">0dp</item>
<item name="android:insetRight">0dp</item>
<item name="android:insetLeft">0dp</item>

<item name="android:layout_margin">0dp</item>

<item name="android:paddingLeft">0dp</item>
<item name="android:paddingRight">0dp</item>
<item name="android:paddingTop">8dp</item>
<item name="android:paddingBottom">8dp</item>

<item name="android:textColor">#fff</item>
<item name="backgroundTint">#333</item>

</style>

</resources>

0 comments on commit a7373fa

Please sign in to comment.