1
0
mirror of https://github.com/fumiama/android-base16384.git synced 2026-06-15 16:00:37 +08:00
This commit is contained in:
fumiama
2020-12-16 23:16:28 +08:00
parent df21b96dcb
commit 3ecb0f8b2c
42 changed files with 1363 additions and 21 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="32dp"
android:height="32dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<path
android:fillColor="#000000"
android:pathData="M921.6 550.4H102.4C81.408 550.4 64 532.992 64 512s17.408-38.4 38.4-38.4h819.2c20.992 0 38.4 17.408 38.4 38.4s-17.408 38.4-38.4 38.4z" />
<path
android:fillColor="#000000"
android:pathData="M512 960c-20.992 0-38.4-17.408-38.4-38.4V102.4c0-20.992 17.408-38.4 38.4-38.4s38.4 17.408 38.4 38.4v819.2c0 20.992-17.408 38.4-38.4 38.4z" />
</vector>

View File

@@ -0,0 +1,170 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#ff9696"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="655"
android:viewportHeight="655">
<path
android:fillColor="#000000"
android:pathData="M361,257 C361,268 361,279 361,290 C362,290 362,289 363,289 C368,278 374,267 379,256 C387,255 395,261 400,267 C400,268 400,270 400,271 C391,276 383,281 378,290 C384,290 389,290 395,290 C398,286 400,283 403,279 C408,279 408,280 411,281 C414,288 421,291 423,299 C422,300 421,301 420,302 C405,302 390,302 375,302 C385,316 401,326 424,327 C424,330 424,334 424,337 C409,338 412,345 406,347 C392,352 365,314 362,304 C362,304 361,304 361,304 C361,316 362,327 362,339 C361,344 356,345 355,348 C364,352 375,372 362,379 C358,383 353,380 349,378 C348,367 346,353 339,347 C342,340 343,327 343,316 C334,323 304,355 290,351 C288,349 287,349 286,346 C299,330 317,321 329,303 C329,303 329,302 329,302 C315,302 303,305 296,301 C296,300 295,299 295,298 C294,298 294,299 293,299 C286,320 280,340 273,361 C269,382 281,399 273,413 C263,416 257,414 251,408 C250,391 257,373 249,359 C243,358 238,357 237,350 C241,344 249,346 257,344 C269,319 281,295 293,270 C295,271 298,271 300,272 C300,273 300,273 300,274 C302,279 299,285 297,289 C304,289 311,290 318,290 C315,281 306,271 307,264 C304,264 301,264 298,264 C298,262 299,259 299,257 C300,256 300,256 301,255 C312,250 394,233 394,233 C397,237 400,241 403,245 C403,247 402,248 402,250 C401,251 401,252 400,253 C385,252 375,256 361,257 ZM257,236 C269,239 283,244 287,255 C289,262 286,268 283,273 C279,274 277,276 273,274 C269,272 257,248 253,243 C254,241 256,238 257,236 ZM343,290 C343,280 343,271 343,261 C335,262 326,262 318,263 C318,264 319,264 319,265 C330,268 337,276 335,290 C338,290 340,290 343,290 ZM237,272 C256,276 273,288 264,309 C259,311 256,312 250,311 C245,298 241,289 233,279 C234,277 236,274 237,272 ZM383,348 C397,352 413,363 418,376 C421,385 417,392 414,397 C413,397 413,398 412,398 C409,398 405,397 402,397 C400,390 397,383 395,376 C391,368 382,363 379,353 C380,351 382,350 383,348 ZM375,363 C378,363 382,363 385,363 C385,379 388,387 395,396 C395,397 394,399 394,400 C387,417 322,425 317,401 C315,391 314,355 320,351 C325,350 338,355 341,360 C342,366 335,383 338,396 C348,396 359,396 369,396 C373,387 375,376 375,363 ZM309,355 C310,375 308,388 300,400 C291,403 285,402 279,396 C279,394 279,391 279,389 C291,380 296,371 301,355 C304,355 306,355 309,355 Z"/>
</vector>

Binary file not shown.

View File

@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraintLayout2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ScrollView
android:id="@+id/sv"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="32dp"
android:layout_marginEnd="32dp"
android:gravity="center"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/stxt"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/ten"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_original" />
</com.google.android.material.textfield.TextInputLayout>
<Button
android:id="@+id/ben"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/encode" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/dtxt"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/tde"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_encoded" />
</com.google.android.material.textfield.TextInputLayout>
<Button
android:id="@+id/bde"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/decode" />
</LinearLayout>
</ScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id="@+id/tti"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/gotham"
android:text="@string/app_name"
android:textColor="?attr/colorOnSurface"
android:textSize="36sp"
app:layout_constraintBottom_toTopOf="@+id/constraintLayout2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="32dp"
android:layout_marginBottom="32dp"
android:clickable="true"
android:src="@drawable/ic_add"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<foreground android:drawable="@drawable/ic_xi" />
<background android:drawable="@drawable/ic_launcher_background" />
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Base16384</string>
<string name="encode">编码</string>
<string name="decode">解码</string>
<string name="text_original">原文</string>
<string name="text_encoded">密文</string>
<string name="permissionDenied">权限被拒绝</string>
<string name="share">保存处理后的文件</string>
<string name="read_file_err">读取文件错误!</string>
<string name="succeed">成功</string>
<string name="failed">失败</string>
<string name="output">输出</string>
</resources>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorAccent">#F6837A</color>
</resources>

View File

@@ -0,0 +1,13 @@
<resources>
<string name="app_name">Base16384</string>
<string name="encode">encode</string>
<string name="decode">decode</string>
<string name="text_original">Original Text</string>
<string name="text_encoded">Encoded Text</string>
<string name="permissionDenied">permission denied</string>
<string name="share">Save Produced File</string>
<string name="read_file_err">Read File Error!</string>
<string name="succeed">succeed</string>
<string name="failed">failed</string>
<string name="output">output</string>
</resources>

View File

@@ -0,0 +1,14 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:colorAccent">@color/colorAccent</item>
<item name="colorPrimarySurface">@color/colorAccent</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:fitsSystemWindows">false</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
</resources>

View File

@@ -0,0 +1,5 @@
<paths>
<external-files-path name="ef" path="."/>
<files-path name="if" path="."/>
<cache-path name="cf" path="."/>
</paths>