Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
likorn
/
Lavina
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
02a02ec0
authored
May 14, 2018
by
Paktalin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changing backgrounds
parent
69090d28
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
3 deletions
app/src/main/java/com/example/paktalin/lavina/WineAdapter.java
app/src/main/res/drawable/red_background_cut.jpg
app/src/main/res/layout/activity_login.xml
app/src/main/res/layout/content_main.xml
app/src/main/res/layout/nav_header_main.xml
app/src/main/res/layout/wine_item.xml
app/src/main/java/com/example/paktalin/lavina/WineAdapter.java
View file @
02a02ec0
...
@@ -16,6 +16,8 @@ public class WineAdapter extends BaseAdapter {
...
@@ -16,6 +16,8 @@ public class WineAdapter extends BaseAdapter {
WineAdapter
(
Context
context
)
{
WineAdapter
(
Context
context
)
{
inflater
=
(
LayoutInflater
)
context
.
getSystemService
(
Context
.
LAYOUT_INFLATER_SERVICE
);
inflater
=
(
LayoutInflater
)
context
.
getSystemService
(
Context
.
LAYOUT_INFLATER_SERVICE
);
}
}
@Override
@Override
...
...
app/src/main/res/drawable/red_background_cut.jpg
0 → 100644
View file @
02a02ec0
47.7 KB
app/src/main/res/layout/activity_login.xml
View file @
02a02ec0
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
android:layout_alignParentLeft=
"true"
android:layout_alignParentLeft=
"true"
android:layout_alignParentStart=
"true"
android:layout_alignParentStart=
"true"
android:layout_centerVertical=
"true"
android:layout_centerVertical=
"true"
android:textColorHint=
"@color/transparent_white"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<ImageView
<ImageView
...
@@ -51,6 +52,7 @@
...
@@ -51,6 +52,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/image_logo"
android:layout_below=
"@+id/image_logo"
android:textColor=
"@color/transparent_white"
android:textColor=
"@color/transparent_white"
android:textColorHint=
"@color/transparent_white"
android:layout_marginTop=
"12dp"
>
android:layout_marginTop=
"12dp"
>
<AutoCompleteTextView
<AutoCompleteTextView
...
@@ -76,6 +78,7 @@
...
@@ -76,6 +78,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/email_layout"
android:layout_below=
"@+id/email_layout"
android:textColor=
"@color/transparent_white"
android:textColor=
"@color/transparent_white"
android:textColorHint=
"@color/transparent_white"
android:layout_marginEnd=
"30dp"
android:layout_marginEnd=
"30dp"
android:layout_marginLeft=
"30dp"
android:layout_marginLeft=
"30dp"
android:layout_marginRight=
"30dp"
android:layout_marginRight=
"30dp"
...
...
app/src/main/res/layout/content_main.xml
View file @
02a02ec0
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
tools:context=
"com.example.paktalin.lavina.MainActivity"
tools:context=
"com.example.paktalin.lavina.MainActivity"
tools:showIn=
"@layout/app_bar_main"
tools:showIn=
"@layout/app_bar_main"
android:background=
"@drawable/
background1
"
>
android:background=
"@drawable/
red_background
"
>
<LinearLayout
<LinearLayout
android:id=
"@+id/tabs"
android:id=
"@+id/tabs"
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:text=
"All"
android:text=
"All"
android:background=
"@color/transparent_
red
"
android:background=
"@color/transparent_
black
"
android:textColor=
"@android:color/white"
/>
android:textColor=
"@android:color/white"
/>
<Button
<Button
...
@@ -47,6 +47,7 @@
...
@@ -47,6 +47,7 @@
<ListView
<ListView
android:id=
"@+id/list_view"
android:id=
"@+id/list_view"
android:background=
"@android:color/white"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/tabs"
>
android:layout_below=
"@+id/tabs"
>
...
...
app/src/main/res/layout/nav_header_main.xml
View file @
02a02ec0
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/nav_header_height"
android:layout_height=
"@dimen/nav_header_height"
android:background=
"@
color/colorPrimary
"
android:background=
"@
drawable/red_background_cut
"
android:padding=
"30dp"
android:padding=
"30dp"
android:theme=
"@style/ThemeOverlay.AppCompat.Dark"
>
android:theme=
"@style/ThemeOverlay.AppCompat.Dark"
>
...
...
app/src/main/res/layout/wine_item.xml
View file @
02a02ec0
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
android:layout_height=
"100dp"
android:layout_height=
"100dp"
android:padding=
"10dp"
>
android:padding=
"10dp"
>
<RelativeLayout
<RelativeLayout
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment