├── .gitignore ├── .idea ├── .gitignore ├── .name ├── AndroidProjectSystem.xml ├── appInsightsSettings.xml ├── compiler.xml ├── deploymentTargetSelector.xml ├── gradle.xml ├── migrations.xml ├── misc.xml ├── runConfigurations.xml └── vcs.xml ├── README.md ├── app ├── .gitignore ├── build.gradle.kts ├── proguard-rules.pro ├── release │ ├── app-release.apk │ ├── baselineProfiles │ │ ├── 0 │ │ │ └── app-release.dm │ │ └── 1 │ │ │ └── app-release.dm │ └── output-metadata.json └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── marinov │ │ └── tvgardenforandroidtv │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── ic_launcher-playstore.png │ ├── java │ │ └── com │ │ │ └── marinov │ │ │ └── tvgardenforandroidtv │ │ │ ├── CustomWebView.java │ │ │ └── MainActivity.java │ └── res │ │ ├── drawable │ │ ├── cursor.png │ │ ├── ic_banner_foreground.xml │ │ ├── ic_launcher_background.xml │ │ └── ic_launcher_foreground.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ ├── fragment_first.xml │ │ └── fragment_second.xml │ │ ├── menu │ │ └── menu_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_banner.png │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── values-land │ │ └── dimens.xml │ │ ├── values-night │ │ └── themes.xml │ │ ├── values-v23 │ │ └── themes.xml │ │ ├── values-w1240dp │ │ └── dimens.xml │ │ ├── values-w600dp │ │ └── dimens.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── ic_banner_background.xml │ │ ├── ic_launcher_background.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ └── test │ └── java │ └── com │ └── marinov │ └── tvgardenforandroidtv │ └── ExampleUnitTest.java ├── build.gradle.kts ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle.kts /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | TV.Garden for Android TV -------------------------------------------------------------------------------- /.idea/AndroidProjectSystem.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /.idea/appInsightsSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 25 | 26 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/deploymentTargetSelector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 18 | 19 | -------------------------------------------------------------------------------- /.idea/migrations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16 | 17 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TV.Garden TV client # 2 | 3 | 4 | 5 | This is my client for https://tv.garden, as there is no official app. 6 | 7 | Enjoy! 8 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle.kts: -------------------------------------------------------------------------------- 1 | plugins { 2 | alias(libs.plugins.android.application) 3 | } 4 | 5 | android { 6 | namespace = "com.marinov.tvgardenforandroidtv" 7 | compileSdk = 35 8 | 9 | defaultConfig { 10 | applicationId = "com.marinov.tvgardenforandroidtv" 11 | minSdk = 24 12 | targetSdk = 35 13 | versionCode = 1 14 | versionName = "1.3" 15 | 16 | testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 17 | } 18 | 19 | buildTypes { 20 | release { 21 | isMinifyEnabled = false 22 | proguardFiles( 23 | getDefaultProguardFile("proguard-android-optimize.txt"), 24 | "proguard-rules.pro" 25 | ) 26 | } 27 | } 28 | compileOptions { 29 | sourceCompatibility = JavaVersion.VERSION_11 30 | targetCompatibility = JavaVersion.VERSION_11 31 | } 32 | buildFeatures { 33 | viewBinding = true 34 | } 35 | } 36 | 37 | dependencies { 38 | 39 | implementation(libs.appcompat) 40 | implementation(libs.material) 41 | implementation(libs.constraintlayout) 42 | implementation(libs.navigation.fragment) 43 | implementation(libs.navigation.ui) 44 | testImplementation(libs.junit) 45 | androidTestImplementation(libs.ext.junit) 46 | androidTestImplementation(libs.espresso.core) 47 | } -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /app/release/app-release.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmb7886/TVGardenforTV/f36d04c8c8c4793424afbacf39c9f60a90ebb14b/app/release/app-release.apk -------------------------------------------------------------------------------- /app/release/baselineProfiles/0/app-release.dm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmb7886/TVGardenforTV/f36d04c8c8c4793424afbacf39c9f60a90ebb14b/app/release/baselineProfiles/0/app-release.dm -------------------------------------------------------------------------------- /app/release/baselineProfiles/1/app-release.dm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmb7886/TVGardenforTV/f36d04c8c8c4793424afbacf39c9f60a90ebb14b/app/release/baselineProfiles/1/app-release.dm -------------------------------------------------------------------------------- /app/release/output-metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "artifactType": { 4 | "type": "APK", 5 | "kind": "Directory" 6 | }, 7 | "applicationId": "com.marinov.tvgardenforandroidtv", 8 | "variantName": "release", 9 | "elements": [ 10 | { 11 | "type": "SINGLE", 12 | "filters": [], 13 | "attributes": [], 14 | "versionCode": 1, 15 | "versionName": "1.1", 16 | "outputFile": "app-release.apk" 17 | } 18 | ], 19 | "elementType": "File", 20 | "baselineProfiles": [ 21 | { 22 | "minApi": 28, 23 | "maxApi": 30, 24 | "baselineProfiles": [ 25 | "baselineProfiles/1/app-release.dm" 26 | ] 27 | }, 28 | { 29 | "minApi": 31, 30 | "maxApi": 2147483647, 31 | "baselineProfiles": [ 32 | "baselineProfiles/0/app-release.dm" 33 | ] 34 | } 35 | ], 36 | "minSdkVersionForDexing": 24 37 | } -------------------------------------------------------------------------------- /app/src/androidTest/java/com/marinov/tvgardenforandroidtv/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.marinov.tvgardenforandroidtv; 2 | 3 | import android.content.Context; 4 | 5 | import androidx.test.platform.app.InstrumentationRegistry; 6 | import androidx.test.ext.junit.runners.AndroidJUnit4; 7 | 8 | import org.junit.Test; 9 | import org.junit.runner.RunWith; 10 | 11 | import static org.junit.Assert.*; 12 | 13 | /** 14 | * Instrumented test, which will execute on an Android device. 15 | * 16 | * @see Testing documentation 17 | */ 18 | @RunWith(AndroidJUnit4.class) 19 | public class ExampleInstrumentedTest { 20 | @Test 21 | public void useAppContext() { 22 | // Context of the app under test. 23 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 24 | assertEquals("com.marinov.netflix", appContext.getPackageName()); 25 | } 26 | } -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 20 | 21 | 22 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /app/src/main/ic_launcher-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmb7886/TVGardenforTV/f36d04c8c8c4793424afbacf39c9f60a90ebb14b/app/src/main/ic_launcher-playstore.png -------------------------------------------------------------------------------- /app/src/main/java/com/marinov/tvgardenforandroidtv/CustomWebView.java: -------------------------------------------------------------------------------- 1 | package com.marinov.tvgardenforandroidtv; 2 | 3 | import android.content.Context; 4 | import android.util.AttributeSet; 5 | import android.view.inputmethod.EditorInfo; 6 | import android.view.inputmethod.InputConnection; 7 | import android.webkit.WebView; 8 | 9 | public class CustomWebView extends WebView { 10 | public CustomWebView(Context context) { 11 | super(context); 12 | } 13 | 14 | public CustomWebView(Context context, AttributeSet attrs) { 15 | super(context, attrs); 16 | } 17 | 18 | @Override 19 | public boolean onCheckIsTextEditor() { 20 | // Habilita edição de texto 21 | return true; 22 | } 23 | 24 | @Override 25 | public InputConnection onCreateInputConnection(EditorInfo outAttrs) { 26 | // Configura IME para texto simples 27 | InputConnection ic = super.onCreateInputConnection(outAttrs); 28 | outAttrs.inputType = EditorInfo.TYPE_CLASS_TEXT; 29 | outAttrs.imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI; 30 | return ic; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/src/main/java/com/marinov/tvgardenforandroidtv/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.marinov.tvgardenforandroidtv; 2 | 3 | import android.annotation.SuppressLint; 4 | import android.app.Activity; 5 | import android.content.Context; 6 | import android.graphics.Point; 7 | import android.os.Bundle; 8 | import android.view.KeyEvent; 9 | import android.view.MotionEvent; 10 | import android.view.View; 11 | import android.view.ViewGroup; 12 | import android.view.ViewTreeObserver; 13 | import android.view.WindowManager; 14 | import android.view.inputmethod.InputMethodManager; 15 | import android.webkit.CookieManager; 16 | import android.webkit.PermissionRequest; 17 | import android.webkit.WebChromeClient; 18 | import android.webkit.WebSettings; 19 | import android.webkit.WebView; 20 | import android.webkit.WebViewClient; 21 | import android.widget.FrameLayout; 22 | import android.widget.ImageView; 23 | 24 | public class MainActivity extends Activity { 25 | private CustomWebView webView; 26 | private FrameLayout customViewContainer; 27 | private View customView; 28 | private WebChromeClient.CustomViewCallback customViewCallback; 29 | private int originalSystemUiVisibility; 30 | private int originalOrientation; 31 | 32 | private ImageView cursorView; 33 | private float cursorX; 34 | private float cursorY; 35 | private static final int STEP = 40; 36 | private static final int SCROLL_STEP = 200; 37 | private int screenWidth; 38 | private int screenHeight; 39 | private boolean initialized = false; 40 | 41 | @SuppressLint("SetJavaScriptEnabled") 42 | @Override 43 | protected void onCreate(Bundle savedInstanceState) { 44 | super.onCreate(savedInstanceState); 45 | getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); 46 | // Garantir hardware acceleration para playback de mídia 47 | getWindow().setFlags( 48 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, 49 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED); 50 | setContentView(R.layout.activity_main); 51 | 52 | // Container para fullscreen de vídeo 53 | customViewContainer = new FrameLayout(this); 54 | addContentView(customViewContainer, 55 | new FrameLayout.LayoutParams( 56 | ViewGroup.LayoutParams.MATCH_PARENT, 57 | ViewGroup.LayoutParams.MATCH_PARENT)); 58 | 59 | webView = findViewById(R.id.webview); 60 | cursorView = findViewById(R.id.cursor); 61 | 62 | // Configura WebView focus e teclado 63 | webView.setFocusable(true); 64 | webView.setFocusableInTouchMode(true); 65 | webView.setOnFocusChangeListener((v, hasFocus) -> { 66 | if (hasFocus) { 67 | InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); 68 | if (imm != null) imm.showSoftInput(webView, InputMethodManager.SHOW_IMPLICIT); 69 | } 70 | }); 71 | 72 | // Configurações do WebView 73 | WebSettings settings = webView.getSettings(); 74 | settings.setJavaScriptEnabled(true); 75 | settings.setDomStorageEnabled(true); 76 | settings.setSupportMultipleWindows(true); 77 | settings.setAllowContentAccess(true); 78 | // Permite autoplay de mídia sem gesto do usuário 79 | settings.setMediaPlaybackRequiresUserGesture(false); 80 | 81 | // Define User-Agent desktop 82 | String desktopUA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " + 83 | "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"; 84 | settings.setUserAgentString(desktopUA); 85 | 86 | // Configura cookies 87 | CookieManager cookieManager = CookieManager.getInstance(); 88 | cookieManager.setAcceptCookie(true); 89 | cookieManager.setAcceptThirdPartyCookies(webView, true); 90 | 91 | // WebChromeClient com permissões e fullscreen 92 | webView.setWebChromeClient(new WebChromeClient() { 93 | @Override 94 | public void onPermissionRequest(final PermissionRequest request) { 95 | for (String resource : request.getResources()) { 96 | if (PermissionRequest.RESOURCE_PROTECTED_MEDIA_ID.equals(resource)) { 97 | request.grant(new String[]{PermissionRequest.RESOURCE_PROTECTED_MEDIA_ID}); 98 | return; 99 | } 100 | } 101 | request.deny(); 102 | } 103 | 104 | @Override 105 | public void onShowCustomView(View view, CustomViewCallback callback) { 106 | // Salva estado e exibe fullscreen 107 | originalSystemUiVisibility = getWindow().getDecorView().getSystemUiVisibility(); 108 | originalOrientation = getRequestedOrientation(); 109 | 110 | customViewContainer.addView(view, 111 | new FrameLayout.LayoutParams( 112 | ViewGroup.LayoutParams.MATCH_PARENT, 113 | ViewGroup.LayoutParams.MATCH_PARENT)); 114 | customView = view; 115 | customViewCallback = callback; 116 | 117 | webView.setVisibility(View.GONE); 118 | getWindow().getDecorView().setSystemUiVisibility( 119 | View.SYSTEM_UI_FLAG_FULLSCREEN | 120 | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | 121 | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY); 122 | } 123 | 124 | @Override 125 | public void onHideCustomView() { 126 | // Remove fullscreen e restaura estado 127 | customViewContainer.removeView(customView); 128 | customView = null; 129 | customViewCallback.onCustomViewHidden(); 130 | 131 | webView.setVisibility(View.VISIBLE); 132 | getWindow().getDecorView().setSystemUiVisibility(originalSystemUiVisibility); 133 | setRequestedOrientation(originalOrientation); 134 | } 135 | }); 136 | 137 | // WebViewClient básico 138 | webView.setWebViewClient(new WebViewClient() { 139 | @Override 140 | public void onPageFinished(WebView view, String url) { 141 | view.requestFocusFromTouch(); 142 | } 143 | }); 144 | 145 | // Carrega URL 146 | webView.loadUrl("https://tv.garden"); 147 | 148 | // Obtém dimensões da tela 149 | Point size = new Point(); 150 | getWindowManager().getDefaultDisplay().getSize(size); 151 | screenWidth = size.x; 152 | screenHeight = size.y; 153 | 154 | // Inicializa cursor no centro 155 | FrameLayout root = findViewById(android.R.id.content); 156 | root.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() { 157 | @Override 158 | public void onGlobalLayout() { 159 | if (!initialized) { 160 | cursorX = screenWidth / 2f; 161 | cursorY = screenHeight / 2f; 162 | updateCursor(); 163 | initialized = true; 164 | root.getViewTreeObserver().removeOnGlobalLayoutListener(this); 165 | } 166 | } 167 | }); 168 | } 169 | 170 | private void updateCursor() { 171 | float x = Math.min(Math.max(0, cursorX - cursorView.getWidth() / 2f), 172 | screenWidth - cursorView.getWidth()); 173 | float y = Math.min(Math.max(0, cursorY - cursorView.getHeight() / 2f), 174 | screenHeight - cursorView.getHeight()); 175 | cursorView.setX(x); 176 | cursorView.setY(y); 177 | } 178 | 179 | @Override 180 | public boolean dispatchKeyEvent(KeyEvent event) { 181 | if (event.getAction() == KeyEvent.ACTION_DOWN) { 182 | switch (event.getKeyCode()) { 183 | case KeyEvent.KEYCODE_DPAD_UP: 184 | if (cursorY > STEP) { 185 | cursorY -= STEP; 186 | updateCursor(); 187 | } else { 188 | webView.scrollBy(0, -SCROLL_STEP); 189 | } 190 | return true; 191 | case KeyEvent.KEYCODE_DPAD_DOWN: 192 | if (cursorY < screenHeight - STEP) { 193 | cursorY += STEP; 194 | updateCursor(); 195 | } else { 196 | webView.scrollBy(0, SCROLL_STEP); 197 | } 198 | return true; 199 | case KeyEvent.KEYCODE_DPAD_LEFT: 200 | if (cursorX > STEP) { 201 | cursorX -= STEP; 202 | updateCursor(); 203 | } else { 204 | webView.scrollBy(-SCROLL_STEP, 0); 205 | } 206 | return true; 207 | case KeyEvent.KEYCODE_DPAD_RIGHT: 208 | if (cursorX < screenWidth - STEP) { 209 | cursorX += STEP; 210 | updateCursor(); 211 | } else { 212 | webView.scrollBy(SCROLL_STEP, 0); 213 | } 214 | return true; 215 | case KeyEvent.KEYCODE_DPAD_CENTER: 216 | case KeyEvent.KEYCODE_BUTTON_SELECT: 217 | long now = System.currentTimeMillis(); 218 | MotionEvent down = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, cursorX, cursorY, 0); 219 | MotionEvent up = MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, cursorX, cursorY, 0); 220 | webView.dispatchTouchEvent(down); 221 | webView.dispatchTouchEvent(up); 222 | down.recycle(); 223 | up.recycle(); 224 | 225 | WebView.HitTestResult hit = webView.getHitTestResult(); 226 | if (hit.getType() == WebView.HitTestResult.EDIT_TEXT_TYPE) { 227 | webView.requestFocusFromTouch(); 228 | InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); 229 | if (imm != null) imm.showSoftInput(webView, InputMethodManager.SHOW_IMPLICIT); 230 | } 231 | return true; 232 | default: 233 | break; 234 | } 235 | } 236 | return super.dispatchKeyEvent(event); 237 | } 238 | 239 | @Override 240 | protected void onPause() { 241 | super.onPause(); 242 | if (webView != null) { 243 | webView.onPause(); 244 | webView.pauseTimers(); 245 | } 246 | } 247 | 248 | @Override 249 | protected void onResume() { 250 | super.onResume(); 251 | if (webView != null) { 252 | webView.onResume(); 253 | webView.resumeTimers(); 254 | } 255 | } 256 | 257 | @Override 258 | protected void onDestroy() { 259 | if (webView != null) webView.destroy(); 260 | super.onDestroy(); 261 | } 262 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/cursor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmb7886/TVGardenforTV/f36d04c8c8c4793424afbacf39c9f60a90ebb14b/app/src/main/res/drawable/cursor.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_banner_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 11 | 13 | 16 | 17 | 23 | 26 | 29 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 45 | 46 | 48 | 50 | 52 | 54 | 56 | 58 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32 | 34 | 36 | 38 | 40 | 42 | 44 | 46 | 48 | 50 | 52 | 54 | 56 | 58 | 60 | 62 | 64 | 66 | 68 | 70 | 72 | 74 | 75 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 11 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 14 | 15 | 16 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_first.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 |