Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2022-03-24 18:58:29 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ea392768920cccccbe1c90a4bf66c4dfee6976af
ea392768
1 parent
6e256fe8
home widget tuning
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
135 deletions
warply_android_sdk/src/main/res/drawable/banner_border_grey_bg3.xml
warply_android_sdk/src/main/res/layout/fragment_home.xml
warply_android_sdk/src/main/res/drawable/banner_border_grey_bg3.xml
0 → 100644
View file @
ea39276
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"#415564"
/>
<corners
android:radius=
"10dp"
/>
<padding
android:left=
"0dp"
android:top=
"0dp"
android:right=
"0dp"
android:bottom=
"0dp"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/layout/fragment_home.xml
View file @
ea39276
...
...
@@ -107,6 +107,7 @@
android:layout_marginBottom=
"8dp"
android:clipToPadding=
"false"
android:orientation=
"horizontal"
android:paddingStart=
"10dp"
android:paddingEnd=
"10dp"
/>
</RelativeLayout>
...
...
@@ -147,57 +148,6 @@
android:background=
"@drawable/banner_border_white"
android:elevation=
"3dp"
>
<!-- <androidx.constraintlayout.widget.Guideline-->
<!-- android:id="@+id/vertical_outer_guideline"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:orientation="vertical"-->
<!-- app:layout_constraintGuide_percent="0.04" />-->
<!-- <androidx.constraintlayout.widget.Guideline-->
<!-- android:id="@+id/vertical_outer_guideline2"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:orientation="vertical"-->
<!-- app:layout_constraintGuide_percent="0.95" />-->
<!-- <androidx.constraintlayout.widget.Guideline-->
<!-- android:id="@+id/horizontal_outer_guideline"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:orientation="horizontal"-->
<!-- app:layout_constraintGuide_percent="0.12" />-->
<!-- <androidx.constraintlayout.widget.Guideline-->
<!-- android:id="@+id/horizontal_outer_guideline2"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:orientation="horizontal"-->
<!-- app:layout_constraintGuide_percent="0.88" />-->
<!-- <androidx.constraintlayout.widget.Guideline-->
<!-- android:id="@+id/vertical_guideline"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:orientation="vertical"-->
<!-- app:layout_constraintGuide_percent="0.4" />-->
<!-- <androidx.constraintlayout.widget.Guideline-->
<!-- android:id="@+id/vertical_guideline2"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:orientation="vertical"-->
<!-- app:layout_constraintGuide_percent="0.7" />-->
<!-- <androidx.constraintlayout.widget.Guideline-->
<!-- android:id="@+id/vertical_guideline3"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:orientation="vertical"-->
<!-- app:layout_constraintGuide_percent="0.65" />-->
<!-- MB Internet -->
<LinearLayout
android:id=
"@+id/ll_myphone"
android:layout_width=
"wrap_content"
...
...
@@ -255,12 +205,13 @@
android:id=
"@+id/iv_progress"
android:layout_width=
"110dp"
android:layout_height=
"110dp"
android:layout_marginEnd=
"
16
dp"
android:layout_marginEnd=
"
24
dp"
android:src=
"@drawable/ic_data_progress"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"@+id/textView2"
/>
<ImageView
android:id=
"@+id/iv_one_logo"
android:layout_width=
"100dp"
android:layout_height=
"30dp"
android:layout_marginStart=
"8dp"
...
...
@@ -270,70 +221,124 @@
app:layout_constraintStart_toStartOf=
"@+id/iv_progress"
app:layout_constraintTop_toBottomOf=
"@+id/iv_progress"
/>
<!-- <LinearLayout-->
<!-- android:id="@+id/ll_myphone"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:background="@drawable/banner_border_grey_bg"-->
<!-- android:orientation="horizontal"-->
<!-- android:paddingHorizontal="12dp"-->
<!-- android:paddingVertical="6dp"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toTopOf="parent">--
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"16dp"
android:orientation=
"horizontal"
android:weightSum=
"3"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/iv_one_logo"
>
<!-- </LinearLayout>-->
<LinearLayout
android:id=
"@+id/ll_data"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1.2"
android:background=
"@drawable/banner_border_grey_bg"
android:orientation=
"horizontal"
android:paddingHorizontal=
"12dp"
android:paddingVertical=
"6dp"
>
<!-- Talk -->
<ImageView
android:id=
"@+id/iv_widget_mb"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_marginStart=
"8dp"
android:src=
"@drawable/web"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/vertical_outer_guideline"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.437"
/>
<!-- <ImageView-->
<!-- android:id="@+id/iv_widget_mb"-->
<!-- android:layout_width="22dp"-->
<!-- android:layout_height="18dp"-->
<!-- android:layout_marginStart="8dp"-->
<!-- android:layout_weight="0.2"-->
<!-- android:src="@drawable/web"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline"-->
<!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"-->
<!-- app:layout_constraintVertical_bias="0.437" />-->
<TextView
android:id=
"@+id/tv_widget_data_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"8dp"
android:text=
"MB Internet"
android:textColor=
"#415564"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_widget_mb"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.47"
/>
</LinearLayout>
<!-- <TextView-->
<!-- android:id="@+id/tv_widget_talk_title"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginStart="12dp"-->
<!-- android:text="MB Internet"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- app:layout_constraintStart_toEndOf="@+id/iv_widget_mb"-->
<!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"-->
<!-- app:layout_constraintVertical_bias="0.47" />-->
<LinearLayout
android:id=
"@+id/ll_voice"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"0.9"
android:background=
"@drawable/banner_border_grey_bg3"
android:orientation=
"horizontal"
android:paddingHorizontal=
"12dp"
android:paddingVertical=
"6dp"
>
<!-- <ImageView-->
<!-- android:id="@+id/iv_widget_talk"-->
<!-- android:layout_width="0dp"-->
<!-- android:layout_height="21dp"-->
<!-- android:layout_marginStart="12dp"-->
<!-- android:layout_weight="0.2"-->
<!-- android:background="@color/cos_blue"-->
<!-- android:src="@drawable/phone_white"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="@+id/vertical_guideline"-->
<!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"-->
<!-- app:layout_constraintVertical_bias="0.533" />-->
<ImageView
android:id=
"@+id/iv_widget_voice"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_marginStart=
"8dp"
android:src=
"@drawable/phone_white"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/vertical_outer_guideline"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.437"
/>
<TextView
android:id=
"@+id/tv_widget_talk_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"8dp"
android:text=
"Ομιλία"
android:textColor=
"@android:color/white"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_widget_mb"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.47"
/>
</LinearLayout>
<LinearLayout
android:id=
"@+id/ll_sms"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"0.9"
android:background=
"@drawable/banner_border_grey_bg3"
android:orientation=
"horizontal"
android:paddingHorizontal=
"12dp"
android:paddingVertical=
"6dp"
>
<ImageView
android:id=
"@+id/iv_widget_sms"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_marginStart=
"8dp"
android:src=
"@drawable/envelope_white"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/vertical_outer_guideline"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.437"
/>
<TextView
android:id=
"@+id/tv_widget_sms_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"8dp"
android:text=
"SMS"
android:textColor=
"@android:color/white"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_widget_mb"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.47"
/>
</LinearLayout>
</LinearLayout>
<!-- <TextView-->
<!-- android:id="@+id/tv_widget_mb_title"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="Ομιλία"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"-->
<!-- app:layout_constraintHorizontal_bias="0.295"-->
<!-- app:layout_constraintStart_toEndOf="@+id/iv_widget_talk"-->
<!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"-->
<!-- app:layout_constraintVertical_bias="0.47" />-->
<!-- <!– SMS –>-->
<!-- <ImageView-->
<!-- android:id="@+id/iv_widget_sms"-->
<!-- android:layout_width="26dp"-->
...
...
@@ -346,32 +351,6 @@
<!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"-->
<!-- app:layout_constraintVertical_bias="0.421" />-->
<!-- <TextView-->
<!-- android:id="@+id/tv_widget_sms_title"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="SMS"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"-->
<!-- app:layout_constraintHorizontal_bias="0.323"-->
<!-- app:layout_constraintStart_toEndOf="@+id/iv_widget_sms"-->
<!-- app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"-->
<!-- app:layout_constraintVertical_bias="0.47" />-->
<!-- <!– Text inside ProgressBar –>-->
<!-- <TextView-->
<!-- android:id="@+id/textView4"-->
<!-- android:layout_width="41dp"-->
<!-- android:layout_height="30dp"-->
<!-- android:gravity="center"-->
<!-- android:text="5.6"-->
<!-- android:textAlignment="center"-->
<!-- app:layout_constraintBottom_toBottomOf="@+id/progressBar"-->
<!-- app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"-->
<!-- app:layout_constraintHorizontal_bias="0.409"-->
<!-- app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"-->
<!-- app:layout_constraintTop_toTopOf="@+id/progressBar"-->
<!-- app:layout_constraintVertical_bias="0.519" />-->
</androidx.constraintlayout.widget.ConstraintLayout>
...
...
Please
register
or
login
to post a comment