├── app ├── .gitignore ├── src │ └── main │ │ ├── web_hi_res_512.png │ │ ├── res │ │ ├── drawable-hdpi │ │ │ ├── ic_done.png │ │ │ ├── ic_empty.png │ │ │ └── ic_icons8_book_24.png │ │ ├── drawable-mdpi │ │ │ ├── ic_done.png │ │ │ ├── ic_empty.png │ │ │ └── ic_icons8_book_24.png │ │ ├── drawable-xhdpi │ │ │ ├── ic_done.png │ │ │ ├── ic_empty.png │ │ │ └── ic_icons8_book_24.png │ │ ├── drawable-xxhdpi │ │ │ ├── ic_done.png │ │ │ ├── ic_empty.png │ │ │ └── ic_icons8_book_24.png │ │ ├── drawable-xxxhdpi │ │ │ ├── ic_done.png │ │ │ ├── ic_empty.png │ │ │ └── ic_icons8_book_24.png │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── values │ │ │ ├── integer.xml │ │ │ ├── dimens.xml │ │ │ ├── colors.xml │ │ │ ├── styles.xml │ │ │ └── strings.xml │ │ ├── menu │ │ │ ├── menu_editor.xml │ │ │ └── menu_catalog.xml │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ ├── layout │ │ │ ├── activity_catalog.xml │ │ │ ├── list_item.xml │ │ │ └── activity_editor.xml │ │ └── drawable │ │ │ └── ic_launcher_background.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── botsone │ │ └── android │ │ └── bookstore │ │ ├── data │ │ ├── BookDbHelper.java │ │ ├── BookContract.java │ │ └── BookProvider.java │ │ ├── BookCursorAdapter.java │ │ ├── CatalogActivity.java │ │ └── EditorActivity.java ├── build.gradle └── proguard-rules.pro ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .idea ├── caches │ └── build_file_checksums.ser ├── vcs.xml ├── runConfigurations.xml ├── gradle.xml ├── misc.xml └── codeStyles │ └── Project.xml ├── .gitignore ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/src/main/web_hi_res_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/web_hi_res_512.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /.idea/caches/build_file_checksums.ser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/.idea/caches/build_file_checksums.ser -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_done.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-hdpi/ic_done.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-hdpi/ic_empty.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_done.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-mdpi/ic_done.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-mdpi/ic_empty.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_done.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-xhdpi/ic_done.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-xhdpi/ic_empty.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_done.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-xxhdpi/ic_done.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-xxhdpi/ic_empty.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/ic_done.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-xxxhdpi/ic_done.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/ic_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-xxxhdpi/ic_empty.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_icons8_book_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-hdpi/ic_icons8_book_24.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_icons8_book_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-mdpi/ic_icons8_book_24.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_icons8_book_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-xhdpi/ic_icons8_book_24.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_icons8_book_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-xxhdpi/ic_icons8_book_24.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/ic_icons8_book_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bots/BookStore-app/master/app/src/main/res/drawable-xxxhdpi/ic_icons8_book_24.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/libraries 5 | /.idea/modules.xml 6 | /.idea/workspace.xml 7 | .DS_Store 8 | /build 9 | /captures 10 | .externalNativeBuild 11 | -------------------------------------------------------------------------------- /app/src/main/res/values/integer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1 4 | 2 5 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Apr 23 17:19:58 MDT 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 5 | 6 | 16dp 7 | 8 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 27 5 | defaultConfig { 6 | applicationId "com.botsone.android.bookstore" 7 | minSdkVersion 15 8 | targetSdkVersion 27 9 | versionCode 1 10 | versionName "1.0" 11 | } 12 | buildTypes { 13 | release { 14 | minifyEnabled false 15 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 16 | } 17 | } 18 | } 19 | 20 | dependencies { 21 | implementation 'com.android.support:appcompat-v7:27.1.1' 22 | implementation 'com.android.support:design:27.1.1' 23 | implementation 'com.squareup.picasso:picasso:2.71828' 24 | implementation 'com.android.support:exifinterface:27.1.1' 25 | } 26 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 15 | #F0514B 16 | 17 | 18 | #C0403C 19 | 20 | 21 | #F0514B 22 | 23 | 24 | #2D3640 25 | 26 | 27 | #394450 28 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_editor.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 18 | 19 | 24 | 25 | 29 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_catalog.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 18 | 19 | 23 | 24 | 28 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 24 | 25 | 28 | 29 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 27 | 28 | 29 | 30 | 31 | 32 | 34 | -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 15 | 16 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/java/com/botsone/android/bookstore/data/BookDbHelper.java: -------------------------------------------------------------------------------- 1 | package com.botsone.android.bookstore.data; 2 | 3 | import android.content.Context; 4 | import android.database.sqlite.SQLiteDatabase; 5 | import android.database.sqlite.SQLiteOpenHelper; 6 | 7 | import com.botsone.android.bookstore.data.BookContract.BookEntry; 8 | 9 | public class BookDbHelper extends SQLiteOpenHelper { 10 | 11 | /** 12 | * name of the database file 13 | */ 14 | private static final String DATABASE_NAME = "bookstore.db"; 15 | 16 | /** 17 | * Database version, if you change schema, increment this 18 | */ 19 | private static final int DATABASE_VERSION = 3; 20 | 21 | public BookDbHelper(Context context) { 22 | super(context, DATABASE_NAME, null, DATABASE_VERSION); 23 | } 24 | 25 | @Override 26 | public void onCreate(SQLiteDatabase db) { 27 | // CREATE TABLE books (id INTEGER PRIMARY KEY AUTOINCREMENT, picture BLOB... 28 | String SQL_CREATE_BOOKS_TABLE = "CREATE TABLE " + BookEntry.TABLE_NAME + "(" 29 | + BookEntry._ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " 30 | + BookEntry.COLUMN_BOOK_PICTURE + " TEXT NOT NULL, " 31 | + BookEntry.COLUMN_BOOK_NAME + " TEXT NOT NULL, " 32 | + BookEntry.COLUMN_BOOK_SECTION + " TEXT NOT NULL, " 33 | + BookEntry.COLUMN_BOOK_AUTHOR + " TEXT, " 34 | + BookEntry.COLUMN_BOOK_PUBLISHER + " TEXT, " 35 | + BookEntry.COLUMN_BOOK_PRICE + " INTEGER NOT NULL, " 36 | + BookEntry.COLUMN_BOOK_QUANTITY + " INTEGER NOT NULL DEFAULT 0, " 37 | + BookEntry.COLUMN_BOOK_SUPPLIER + " TEXT, " 38 | + BookEntry.COLUMN_BOOK_SUPPLIER_PHONE + " TEXT);"; 39 | 40 | db.execSQL(SQL_CREATE_BOOKS_TABLE); 41 | } 42 | 43 | @Override 44 | public void onUpgrade(SQLiteDatabase sqLiteDatabase, int i, int i1) { 45 | 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /app/src/main/java/com/botsone/android/bookstore/data/BookContract.java: -------------------------------------------------------------------------------- 1 | package com.botsone.android.bookstore.data; 2 | 3 | import android.content.ContentResolver; 4 | import android.net.Uri; 5 | import android.provider.BaseColumns; 6 | 7 | public final class BookContract { 8 | 9 | private BookContract() { 10 | 11 | } 12 | 13 | public static final String CONTENT_AUTHORITY = "com.botsone.android.bookstore"; 14 | 15 | public static final Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY); 16 | 17 | public static final String PATH_BOOKS = "books"; 18 | 19 | public static final class BookEntry implements BaseColumns { 20 | 21 | public static final String TABLE_NAME = "books"; 22 | 23 | public static final String COLUMN_BOOK_PICTURE = "picture"; 24 | public static final String COLUMN_BOOK_NAME = "name"; 25 | public static final String COLUMN_BOOK_SECTION = "section"; 26 | public static final String COLUMN_BOOK_AUTHOR = "author"; 27 | public static final String COLUMN_BOOK_PUBLISHER = "publisher"; 28 | public static final String COLUMN_BOOK_PRICE = "price"; 29 | public static final String COLUMN_BOOK_QUANTITY = "quantity"; 30 | public static final String COLUMN_BOOK_SUPPLIER = "supplier"; 31 | public static final String COLUMN_BOOK_SUPPLIER_PHONE = "phone"; 32 | 33 | public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, PATH_BOOKS); 34 | 35 | /** 36 | * The MIME type of the {@link #CONTENT_URI} for a list of books. 37 | */ 38 | public static final String CONTENT_LIST_TYPE = 39 | ContentResolver.CURSOR_DIR_BASE_TYPE + "/" + CONTENT_AUTHORITY + "/" + PATH_BOOKS; 40 | 41 | /** 42 | * The MIME type of the {@link #CONTENT_URI} for a single book. 43 | */ 44 | public static final String CONTENT_ITEM_TYPE = 45 | ContentResolver.CURSOR_ITEM_BASE_TYPE + "/" + CONTENT_AUTHORITY + "/" + PATH_BOOKS; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 12 | 13 | 19 | 22 | 25 | 26 | 27 | 28 | 34 | 35 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 15 | 20 | 21 | 22 | 27 | 28 | 29 | 38 | 39 | 40 | 46 | 47 | 48 | 56 | 57 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_catalog.xml: -------------------------------------------------------------------------------- 1 | 12 | 17 | 18 | 22 | 23 | 24 | 29 | 30 | 36 | 37 | 47 | 48 | 59 | 60 | 61 | 62 | 70 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 19 | 20 | 25 | 26 | 32 | 33 | 41 | 42 | 48 | 49 | 50 | 51 | 55 | 56 | 64 | 65 | 71 | 72 | 73 | 74 | 79 | 80 | 88 | 89 | 95 | 96 |