Skip to content

Commit

Permalink
Merge branch 'main' into build-android-app
Browse files Browse the repository at this point in the history
  • Loading branch information
Killjoy99 committed Oct 10, 2024
2 parents 6a41b38 + aecde0c commit 8e9102c
Show file tree
Hide file tree
Showing 11 changed files with 374 additions and 243 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Kivy - KivyMD Lazy Loading Template

![Version](https://img.shields.io/badge/version-0.0.1-blue.svg)
![Python](https://img.shields.io/badge/python-3.11%2B-blue.svg)
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)
![Kivy: Version](https://img.shields.io/badge/kivy->=2.3.0-green.svg)
![Kivymd: Version](https://img.shields.io/badge/kivymd-2.0.1.dev0-green.svg)
![Build Status](https://github.com/Killjoy99/kivymd-lazy-loading-template/actions/workflows/build.yaml/badge.svg)
![Tests](https://github.com/Killjoy99/kivymd-lazy-loading-template/actions/workflows/tests.yaml/badge.svg)

Expand Down
5 changes: 5 additions & 0 deletions src/assets/screens.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@
"module": "libs.uix.screens.calling",
"class": "CallingScreen",
"kv": "libs/uix/kv/screens/calling.kv"
},
"messaging": {
"module": "libs.uix.screens.messaging",
"class": "MessagingScreen",
"kv": "libs/uix/kv/screens/messaging.kv"
}
}
3 changes: 2 additions & 1 deletion src/buildozer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ android.permissions = android.permission.INTERNET,
android.permission.CAMERA,
android.permission.RECORD_AUDIO,
android.permission.VIBRATE,
android.permission.CALL_PHONE
android.permission.CALL_PHONE,
android.permission.READ_SMS

# (list) features (adds uses-feature -tags to manifest)
#android.features = android.hardware.usb.host
Expand Down
103 changes: 0 additions & 103 deletions src/libs/applibs/services/generated_connection_manager.py

This file was deleted.

15 changes: 8 additions & 7 deletions src/libs/uix/kv/screens/home.kv
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
valign: 'middle'
pos_hint: {'center_x': 0.5,'center_y': 0.5}

MDCard:
pos_hint: {'center_x': 0.5,'center_y': 0.5}
size_hint: (None, None)
width: dp(200)
height: dp(100)
radius: dp(-10), dp(0), dp(0), dp(0)

MDButton:
on_release: root.manager.push("settings")
Expand All @@ -39,6 +33,13 @@
MDButton:
on_release: root.manager.push("calling")
radius: dp(0)
pos_hint: {'center_x': 0.5,'center_y': 0.2}
pos_hint: {'center_x': 0.3,'center_y': 0.2}
MDButtonText:
text: 'Make Phone Call'

MDButton:
on_release: root.manager.push("messaging")
radius: dp(0)
pos_hint: {'center_x': 0.7,'center_y': 0.2}
MDButtonText:
text: 'Messages'
14 changes: 14 additions & 0 deletions src/libs/uix/kv/screens/messaging.kv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<MessagingScreen>
md_bg_color: app.theme_cls.backgroundColor

MDLabel:
markup: True
text: "[size=30sp][b][color=#008080]Messaging Screen[/color][/b][/size]"
halign: 'center'
pos_hint: {'center_x': 0.5, 'top': 1}

MDBoxLayout:
id: sms_recycle_view
orientation: 'vertical'
padding: dp(10)
pos_hint: {'center_x': 0.5,'top': 0.9}
Loading

0 comments on commit 8e9102c

Please sign in to comment.