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-23 13:07:15 +0200
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
96deec803473314561a5427d42f7736037778988
96deec80
2 parents
adc92292
3871e94f
Merge remote-tracking branch 'origin/cosmote' into cosmote
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
146 additions
and
149 deletions
warply_android_sdk/src/main/res/layout/info_widget.xml
warply_android_sdk/src/main/res/layout/info_widget.xml
View file @
96deec8
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"300dp"
android:paddingHorizontal=
"10dp"
>
android:layout_height=
"300dp"
>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/
horizontal
_guideline"
android:id=
"@+id/
vertical_outer
_guideline"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"
horizont
al"
app:layout_constraintGuide_percent=
"0.
15
"
/>
android:orientation=
"
vertic
al"
app:layout_constraintGuide_percent=
"0.
04
"
/>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/horizontal_guideline2"
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.
85
"
/>
app:layout_constraintGuide_percent=
"0.
12
"
/>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/
vertical_guideline0
"
android:id=
"@+id/
horizontal_outer_guideline2
"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"
vertic
al"
app:layout_constraintGuide_percent=
"0.
03
"
/>
android:orientation=
"
horizont
al"
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.
36
"
/>
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.
62
"
/>
app:layout_constraintGuide_percent=
"0.
7
"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"20dp"
android:text=
"Έχεις διαθέσιμα 5.6 GB"
android:textSize=
"17dp"
android:textStyle=
"bold"
app:layout_constraintBottom_toTopOf=
"@+id/horizontal_guideline2"
app:layout_constraintEnd_toStartOf=
"@+id/vertical_guideline2"
app:layout_constraintHorizontal_bias=
"0.271"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_guideline"
app:layout_constraintVertical_bias=
"0.0"
/>
<ProgressBar
android:id=
"@+id/progressBar"
style=
"?android:attr/progressBarStyle"
android:layout_width=
"130dp"
android:layout_height=
"134dp"
android:progress=
"80"
app:layout_constraintBottom_toTopOf=
"@+id/horizontal_guideline2"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.407"
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline2"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_guideline"
app:layout_constraintVertical_bias=
"0.0"
/>
<TextView
android:id=
"@+id/textView2"
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/vertical_guideline3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"5.6"
app:layout_constraintBottom_toBottomOf=
"@+id/progressBar"
app:layout_constraintEnd_toEndOf=
"@+id/progressBar"
app:layout_constraintHorizontal_bias=
"0.537"
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline2"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_guideline"
/>
<ImageView
android:id=
"@+id/imageView3"
android:layout_width=
"94dp"
android:layout_height=
"36dp"
app:layout_constraintBottom_toTopOf=
"@+id/horizontal_guideline2"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline2"
app:layout_constraintTop_toBottomOf=
"@+id/progressBar"
app:srcCompat=
"@drawable/cosmote_one"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_widget_phone"
android:layout_width=
"131dp"
android:layout_height=
"43dp"
android:orientation=
"horizontal"
app:layout_constraintBottom_toTopOf=
"@+id/horizontal_guideline"
app:layout_constraintEnd_toStartOf=
"@+id/vertical_guideline"
app:layout_constraintHorizontal_bias=
"1.0"
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline0"
app:layout_constraintTop_toTopOf=
"parent"
>
android:orientation=
"vertical"
app:layout_constraintGuide_percent=
"0.65"
/>
<ImageView
android:id=
"@+id/iv_widget_phone"
android:layout_width=
"32
dp"
android:layout_width=
"0
dp"
android:layout_height=
"18dp"
android:layout_weight=
"1
"
app:layout_constraintBottom_toBottomOf=
"parent
"
app:layout_constraintStart_toStartOf=
"parent
"
app:layout_constraintTop_toTopOf=
"parent
"
app:layout_constraintVertical_bias=
"0.48
"
app:srcCompat=
"@drawable/smartphone
"
/>
android:layout_marginStart=
"8dp
"
android:layout_weight=
"0.2
"
android:src=
"@drawable/smartphone
"
app:layout_constraintBottom_toTopOf=
"@+id/horizontal_outer_guideline
"
app:layout_constraintStart_toStartOf=
"@+id/vertical_outer_guideline
"
app:layout_constraintTop_toTopOf=
"parent
"
/>
<!-- MB Internet -->
<TextView
android:id=
"@+id/tv_widget_phone_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"8dp"
android:text=
"Το κινητό μου"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toTopOf=
"@+id/horizontal_outer_guideline"
app:layout_constraintEnd_toStartOf=
"@+id/vertical_guideline"
app:layout_constraintHorizontal_bias=
"0.0"
app:layout_constraintStart_toEndOf=
"@+id/iv_widget_phone"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<ImageView
android:id=
"@+id/imageView5"
android:layout_width=
"84dp"
android:layout_height=
"28dp"
app:layout_constraintBottom_toTopOf=
"@+id/horizontal_guideline"
app:layout_constraintEnd_toStartOf=
"@+id/vertical_guideline2"
app:layout_constraintStart_toEndOf=
"@+id/cl_widget_phone"
app:layout_constraintTop_toTopOf=
"parent"
app:srcCompat=
"@drawable/cosmote_one"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_widget_mb"
android:layout_width=
"131dp"
android:layout_height=
"43dp"
android:orientation=
"horizontal"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@+id/vertical_guideline"
app:layout_constraintHorizontal_bias=
"1.0"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_guideline2"
>
app:layout_constraintVertical_bias=
"0.529"
/>
<ImageView
android:id=
"@+id/iv_widget_mb"
android:layout_width=
"32dp"
android:layout_height=
"18dp"
android:layout_weight=
"1"
android:layout_width=
"23dp"
android:layout_height=
"20dp"
android:layout_marginStart=
"12dp"
android:layout_weight=
"0.2"
android:src=
"@drawable/web"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.48"
app:srcCompat=
"@drawable/smartphone"
/>
app:layout_constraintStart_toStartOf=
"@+id/vertical_outer_guideline"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.533"
/>
<!-- Talk -->
<TextView
android:id=
"@+id/tv_widget_mb
_title"
android:id=
"@+id/tv_widget_talk
_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Το κινητό μου"
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=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_widget_talk"
android:layout_width=
"100dp"
android:layout_height=
"34dp"
android:orientation=
"horizontal"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@+id/vertical_guideline2"
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_guideline2"
>
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.47"
/>
<ImageView
android:id=
"@+id/iv_widget_talk"
android:layout_width=
"32dp"
android:layout_height=
"18dp"
android:layout_weight=
"1"
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=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.48"
app:srcCompat=
"@drawable/smartphone"
/>
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.533"
/>
<TextView
android:id=
"@+id/tv_widget_talk
_title"
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=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_widget_sms"
android:layout_width=
"140dp"
android:layout_height=
"35dp"
android:orientation=
"horizontal"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline2"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_guideline2"
>
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=
"32dp"
android:layout_height=
"18dp"
android:layout_weight=
"1"
android:layout_width=
"26dp"
android:layout_height=
"17dp"
android:layout_marginStart=
"12dp"
android:layout_weight=
"0.2"
android:src=
"@drawable/envelope_white"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.48"
app:srcCompat=
"@drawable/smartphone"
/>
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline2"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.421"
/>
<TextView
android:id=
"@+id/tv_widget_sms_title"
...
...
@@ -222,8 +149,78 @@
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=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintVertical_bias=
"0.47"
/>
<!-- Comsote One top horizontal -->
<!-- Title -->
<ImageView
android:layout_width=
"86dp"
android:layout_height=
"20dp"
android:scaleType=
"fitXY"
android:src=
"@drawable/cosmote_one"
app:layout_constraintBottom_toTopOf=
"@+id/horizontal_outer_guideline"
app:layout_constraintEnd_toStartOf=
"@+id/vertical_guideline2"
app:layout_constraintHorizontal_bias=
"0.567"
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.562"
/>
<TextView
android:id=
"@+id/textView2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"'Εχεις διαθέσιμα 5.6 GB"
app:layout_constraintBottom_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintEnd_toStartOf=
"@+id/vertical_guideline3"
app:layout_constraintHorizontal_bias=
"0.0"
app:layout_constraintStart_toStartOf=
"@+id/vertical_outer_guideline"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline"
app:layout_constraintVertical_bias=
"0.105"
/>
<!-- ProgressBar -->
<ProgressBar
android:id=
"@+id/progressBar"
style=
"?android:attr/progressBarStyle"
android:layout_width=
"109dp"
android:layout_height=
"107dp"
app:layout_constraintBottom_toTopOf=
"@+id/horizontal_outer_guideline2"
app:layout_constraintEnd_toStartOf=
"@+id/vertical_outer_guideline2"
app:layout_constraintHorizontal_bias=
"0.333"
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline3"
app:layout_constraintTop_toTopOf=
"@+id/horizontal_outer_guideline"
app:layout_constraintVertical_bias=
"0.066"
/>
<!-- 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"
/>
<ImageView
android:id=
"@+id/imageView3"
android:layout_width=
"99dp"
android:layout_height=
"26dp"
android:layout_marginTop=
"8dp"
android:src=
"@drawable/cosmote_one"
android:scaleType=
"fitXY"
app:layout_constraintEnd_toStartOf=
"@+id/vertical_outer_guideline2"
app:layout_constraintHorizontal_bias=
"0.4"
app:layout_constraintStart_toStartOf=
"@+id/vertical_guideline3"
app:layout_constraintTop_toBottomOf=
"@+id/progressBar"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
...
...
Please
register
or
login
to post a comment