-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
488 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,53 @@ | ||
package com.example.rememberme | ||
|
||
import androidx.compose.foundation.layout.Column | ||
import androidx.compose.foundation.layout.fillMaxSize | ||
import androidx.compose.foundation.layout.padding | ||
import androidx.compose.material3.ExperimentalMaterial3Api | ||
import androidx.compose.material3.Scaffold | ||
import androidx.compose.material3.Surface | ||
import androidx.compose.material3.Text | ||
import androidx.compose.material3.TopAppBar | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.res.stringResource | ||
import androidx.compose.ui.tooling.preview.Preview | ||
import com.example.rememberme.common.composable.ListItem | ||
import com.example.rememberme.ui.theme.RememberMeTheme | ||
|
||
@OptIn(ExperimentalMaterial3Api::class) | ||
@Composable | ||
fun RememberMeApp(){ | ||
RememberMeTheme{ | ||
Surface{ | ||
Text(text = "Hello") | ||
Surface( | ||
modifier = Modifier.fillMaxSize(), | ||
){ | ||
Scaffold( | ||
topBar = { | ||
TopAppBar( | ||
title = { | ||
Text(stringResource(id = R.string.app_name)) | ||
} | ||
) | ||
} | ||
){ | ||
Column( | ||
modifier = Modifier.padding(it) | ||
) { | ||
ListItem(name = "Otba", meetPlace = "Abu Dhabi",{ println("Clicked!")}) | ||
ListItem(name = "Otba", meetPlace = "Abu Dhabi",{println("Clicked!")}) | ||
ListItem(name = "Otba", meetPlace = "Abu Dhabi",{println("Clicked!")}) | ||
ListItem(name = "Otba", meetPlace = "Abu Dhabi",{println("Clicked!")}) | ||
|
||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
||
@Preview(showBackground = true) | ||
@Composable | ||
fun RememberMeAppPreview(){ | ||
RememberMeApp() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="342dp" | ||
android:height="342dp" android:autoMirrored="true" | ||
android:viewportWidth="341.549" android:viewportHeight="341.549"> | ||
<path android:fillColor="#F3D8B6" android:pathData="M253.964,245.996c-18.667,-6.681 -51.458,-11.736 -51.458,-81.376h-29.23h-5.002h-29.23c0,69.64 -32.791,74.695 -51.458,81.376c0,47.368 68.832,48.824 80.688,53.239v1.537c0,0 0.922,-0.188 2.501,-0.68c1.579,0.492 2.501,0.68 2.501,0.68v-1.537C185.131,294.82 253.964,293.363 253.964,245.996z"/> | ||
<path android:fillColor="#EEC8A2" android:pathData="M202.506,164.62h-29.23h-2.501v135.471c1.579,0.492 2.501,0.68 2.501,0.68v-1.537c11.856,-4.415 80.688,-5.871 80.688,-53.239C235.297,239.315 202.506,234.26 202.506,164.62z"/> | ||
<path android:fillColor="#F3DBC4" android:pathData="M170.777,186.782c-27.454,0 -48.409,-23.119 -57.799,-40.456s-15.888,-77.445 4.34,-104.897c19.808,-26.883 53.459,-23.838 53.459,-23.838s33.649,-3.045 53.458,23.838c20.226,27.452 13.726,87.56 4.335,104.897C219.178,163.663 198.225,186.782 170.777,186.782z"/> | ||
<path android:fillColor="#EDCEAE" android:pathData="M224.235,41.429c-19.81,-26.883 -53.458,-23.838 -53.458,-23.838h-0.002v169.191c0.001,0 0.001,0 0.002,0c27.449,0 48.401,-23.119 57.794,-40.456C237.961,128.989 244.461,68.882 224.235,41.429z"/> | ||
<path android:fillColor="#A97C75" android:pathData="M237.227,109.439c-0.725,14.745 -22.425,29.324 -29.599,39.061c-16.801,22.803 -36.854,3.24 -36.854,3.24s-20.051,19.563 -36.854,-3.24c-7.173,-9.735 -28.871,-24.311 -29.596,-39.054c-1.19,20.863 11.665,42.273 16.381,50.979c7.973,14.719 26.764,34.348 50.072,34.348c23.304,0 42.094,-19.629 50.068,-34.348C225.561,151.717 238.417,130.304 237.227,109.439z"/> | ||
<path android:fillColor="#976F6A" android:pathData="M237.227,109.439c-0.725,14.744 -22.425,29.324 -29.599,39.061c-16.775,22.767 -36.79,3.302 -36.853,3.241v43.031h0.001c23.304,0 42.094,-19.628 50.068,-34.348C225.561,151.717 238.417,130.304 237.227,109.439z"/> | ||
<path android:fillColor="#A0756F" android:pathData="M206.114,25.918c0,0 -24.427,-32.813 -39.707,-24.598c-39.045,20.991 -44.219,18.365 -52.979,21.408c-21.241,7.378 -21.798,5.405 -19.122,21.776c8.879,54.319 -0.557,79.337 15.961,59.147s22.025,-15.423 64.073,-20.012s15.256,-23.363 37.28,-8.18s24.919,42.732 28.589,42.732c3.671,0 11.84,-52.59 6.283,-68.911C234.63,14.439 206.114,25.918 206.114,25.918z"/> | ||
<path android:fillColor="#8C6762" android:pathData="M246.492,49.281c-11.862,-34.842 -40.378,-23.362 -40.378,-23.362S185.925,-1.197 170.775,0.045v83.97c1.16,-0.118 2.344,-0.242 3.564,-0.375c42.047,-4.588 15.256,-23.363 37.28,-8.18c22.025,15.184 24.919,42.732 28.589,42.732S252.049,65.603 246.492,49.281z"/> | ||
<path android:fillColor="#EDCEAE" android:pathData="M226.853,135.146a17.186,10.048 110.751,1 0,12.179 -32.143a17.186,10.048 110.751,1 0,-12.179 32.143z"/> | ||
<path android:fillColor="#F3DBC4" android:pathData="M102.509,103.002a17.186,10.048 69.249,1 0,12.179 32.143a17.186,10.048 69.249,1 0,-12.179 -32.143z"/> | ||
<path android:fillColor="#545465" android:pathData="M290.757,300.867v40.681H50.793v-40.681c0,-30.431 17.377,-56.963 40.605,-70.913c6.043,-3.641 19.69,-7.43 26.844,-9.196c5.953,-1.488 53.438,22.729 53.438,22.729s48.674,-23.218 54.627,-21.729c7.154,1.766 17.802,4.554 23.844,8.196C273.38,243.904 290.757,270.436 290.757,300.867z"/> | ||
<path android:fillColor="#494857" android:pathData="M250.152,229.954c-6.043,-3.641 -16.69,-6.429 -23.844,-8.195c-5.953,-1.488 -54.627,21.729 -54.627,21.729s-0.321,-0.164 -0.906,-0.459v98.52h119.982v-40.681C290.757,270.436 273.379,243.904 250.152,229.954z"/> | ||
<path android:fillColor="#FFFFFF" android:pathData="M218.942,216.981l-48.167,23.441l-48.167,-23.441c-11.5,5.5 10.396,38.436 14.833,36.833c10.963,-3.96 33.334,-10.329 33.334,-10.329s22.371,6.369 33.334,10.329C208.546,255.417 230.442,222.481 218.942,216.981z"/> | ||
<path android:fillColor="#DEDDE0" android:pathData="M218.942,216.981l-48.167,23.441v3.063c0,0 22.371,6.369 33.334,10.329C208.546,255.417 230.442,222.481 218.942,216.981z"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="358.898dp" | ||
android:height="358.898dp" android:autoMirrored="true" | ||
android:viewportWidth="358.898" android:viewportHeight="358.898"> | ||
<path android:fillColor="#682234" android:pathData="M290.089,141.269C290.089,59.796 247.343,0 179.449,0C111.932,0 69.293,59.135 68.82,139.914c-2.475,-0.56 -5.046,-0.865 -7.689,-0.865c-19.179,0 -34.727,15.548 -34.727,34.727c0,15.758 10.499,29.056 24.88,33.302c0.335,18.89 15.742,34.102 34.711,34.102c5.798,0 11.259,-1.428 16.063,-3.941c4.993,13.055 17.63,22.329 32.439,22.329c19.179,0 34.727,-15.548 34.727,-34.727c0,-2.803 -0.341,-5.524 -0.968,-8.135c44.084,1.686 90.604,-6.62 110.677,-24.92C305.325,167.728 290.089,163.207 290.089,141.269z"/> | ||
<path android:fillColor="#581A2B" android:pathData="M332.494,173.776c0,-19.179 -15.548,-34.727 -34.727,-34.727c-2.644,0 -5.215,0.305 -7.689,0.865C289.605,59.135 246.965,0 179.449,0c-0.032,0 -0.063,0.001 -0.094,0.001v216.92c3.768,0.001 7.536,-0.071 11.286,-0.214c-0.627,2.611 -0.968,5.332 -0.968,8.135c0,19.179 15.548,34.727 34.727,34.727c14.81,0 27.447,-9.274 32.439,-22.329c4.805,2.512 10.266,3.941 16.063,3.941c18.97,0 34.376,-15.212 34.711,-34.102C321.995,202.832 332.494,189.534 332.494,173.776z"/> | ||
<path android:fillColor="#F3D8B6" android:pathData="M207.778,180.756h-26.884h-1.256h-0.379h-1.256h-26.884c0,74.552 -36.43,67.808 -36.43,67.808c0,47.368 51.162,62.392 63.313,66.806v1.537c0,0 0.533,-0.11 1.446,-0.359c0.912,0.249 1.446,0.359 1.446,0.359v-1.537c12.151,-4.414 63.313,-19.439 63.313,-66.806C244.208,248.564 207.778,255.308 207.778,180.756z"/> | ||
<path android:fillColor="#EEC8A2" android:pathData="M207.778,180.756h-26.884h-1.256h-0.189v135.792c0.912,0.249 1.446,0.359 1.446,0.359v-1.537c12.151,-4.414 63.313,-19.439 63.313,-66.806C244.208,248.564 207.778,255.308 207.778,180.756z"/> | ||
<path android:fillColor="#F3D8B6" android:pathData="M296.43,318.004v40.681H62.467v-40.681c0,-30.431 14.377,-56.963 37.605,-70.913c6.043,-3.641 12.69,-6.43 19.844,-8.196c5.953,-1.488 12.254,-2.272 18.842,-2.272l40.691,24.002l40.691,-24.002c6.588,0 12.889,0.784 18.842,2.272c7.154,1.766 13.802,4.554 19.844,8.196C282.053,261.041 296.43,287.573 296.43,318.004z"/> | ||
<path android:fillColor="#EEC8A2" android:pathData="M296.429,318.005v40.68h-116.98v-98.06l36,-21.23l4.69,-2.77c6.59,0 12.89,0.78 18.84,2.27c7.16,1.77 13.8,4.55 19.85,8.2C282.049,261.045 296.429,287.575 296.429,318.005z"/> | ||
<path android:fillColor="#F3DBC4" android:pathData="M180.354,120.925h-64.988c0.84,22.166 4.35,42.212 8.428,49.74c9.042,16.694 29.221,38.957 55.657,38.957c26.431,0 46.607,-22.262 55.652,-38.957c4.077,-7.528 7.588,-27.574 8.429,-49.74H180.354z"/> | ||
<path android:fillColor="#EDCEAE" android:pathData="M180.354,120.925h-1v88.694c0.032,0 0.064,0.002 0.096,0.002c26.431,0 46.607,-22.263 55.652,-38.957c4.077,-7.528 7.588,-27.573 8.429,-49.74h-63.177V120.925z"/> | ||
<path android:fillColor="#AEC7EA" android:pathData="M224.933,267.897h-2.955c-7.109,15.907 -23.023,26.993 -41.529,26.993c-25.129,0 -45.5,-20.43 -45.5,-45.632c0,-4.463 0.65,-8.772 1.841,-12.849c-5.881,0.139 -11.524,0.899 -16.882,2.241c-7.16,1.77 -13.8,4.55 -19.85,8.2c-23.22,13.95 -37.6,40.48 -37.6,70.91v5.97h37.306l-0.306,0.5v34.667h160V324.23L224.933,267.897z"/> | ||
<path android:fillColor="#96B3D4" android:pathData="M296.439,317.761c0,-30.43 -14.38,-56.96 -37.6,-70.91c-6.05,-3.65 -12.69,-6.43 -19.85,-8.2c-4.74,-1.187 -9.706,-1.915 -14.86,-2.165c1.177,4.055 1.82,8.338 1.82,12.773c0,25.202 -20.371,45.632 -45.5,45.632c-0.332,0 -0.66,-0.018 -0.99,-0.025v64.032h80v-34.667l-0.306,-0.5h37.286V317.761z"/> | ||
</vector> |
Oops, something went wrong.