Skip to content

Commit

Permalink
credits added in about
Browse files Browse the repository at this point in the history
  • Loading branch information
SidharthMudgil committed Aug 15, 2023
1 parent bf2738b commit 162768b
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ class AboutFragment : Fragment() {
The Liquid Galaxy Project, while making use of Google Earth software, does not develop the Google Earth code-base itself. Google Earth is not open source software, although it is free (as in beer). Instead, the Liquid Galaxy Project works on extending the Liquid Galaxy system with open source software both improving its administration and enabling open source applications, so that content of various types can be displayed in the immersive panoramic environment.
""".trimIndent().trimMargin()

private val credits = """
Navdeep(aka: Lord of the IA)
Mohamed(the relentless APK tester)
Imad Laichi(the careful document crafter)
Rafel Salguerio(the Rocky Linux server handler)
Mario Ezquerro(Google Developer Expert Cloud, the real SUDO master)
Andreu Ibanez(Liquid Galaxy administrator)
""".trimIndent().trimMargin()

override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
Expand Down Expand Up @@ -110,6 +119,7 @@ class AboutFragment : Fragment() {

binding.appDescription.text = appDescription
binding.orgDescription.text = orgDescription
binding.credits.text = credits
binding.appVersion.text = version

return binding.root
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ object SpeechLandmarkerResultParser {
val mouthRollUpper = blendshapes.getValue("mouthRollUpper")

return when {
jawOpen > faceConfidence -> LiquidGalaxyManager.State.ZOOM_IN
jawRight > faceConfidence -> LiquidGalaxyManager.State.MOVE_EAST
jawLeft > faceConfidence -> LiquidGalaxyManager.State.MOVE_WEST
mouthRollUpper > faceConfidence -> LiquidGalaxyManager.State.MOVE_NORTH
mouthRollLower > faceConfidence -> LiquidGalaxyManager.State.MOVE_SOUTH
eyeBlinkRight > faceConfidence && eyeBlinkLeft > faceConfidence || eyeSquintRight > faceConfidence && eyeSquintLeft > faceConfidence -> LiquidGalaxyManager.State.ZOOM_OUT
eyeBlinkLeft > faceConfidence || eyeSquintLeft > faceConfidence -> LiquidGalaxyManager.State.ROTATE_LEFT
eyeBlinkRight > faceConfidence || eyeSquintRight > faceConfidence -> LiquidGalaxyManager.State.ROTATE_RIGHT
jawOpen > faceConfidence -> LiquidGalaxyManager.State.ZOOM_IN
eyeBlinkLeft > faceConfidence -> LiquidGalaxyManager.State.ROTATE_LEFT
eyeBlinkRight > faceConfidence -> LiquidGalaxyManager.State.ROTATE_RIGHT
neutral > faceConfidence -> LiquidGalaxyManager.State.IDLE
else -> LiquidGalaxyManager.State.IDLE
}
Expand Down
38 changes: 36 additions & 2 deletions app/src/main/res/layout-night/fragment_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
android:background="@null"
android:contentDescription="@null"
android:src="@drawable/ic_github"
app:tint="@color/base_theme_light_onSecondaryContainer" />
app:tint="@color/base_theme_dark_onPrimaryContainer" />

<ImageButton
android:id="@+id/org_discord"
Expand Down Expand Up @@ -324,6 +324,40 @@
app:layout_constraintTop_toBottomOf="@+id/org_name"
app:layout_constraintVertical_bias="0" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/label_credits"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="25dp"
android:includeFontPadding="false"
android:text="@string/label_credits"
android:textAlignment="center"
android:textColor="@color/base_theme_dark_onPrimaryContainer"
android:textFontWeight="800"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/flow2"
app:layout_constraintVertical_bias="0" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/credits"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:includeFontPadding="false"
android:lineSpacingExtra="3dp"
android:textAlignment="center"
android:textColor="@color/base_theme_dark_onPrimaryContainer"
android:textFontWeight="500"
android:textSize="18sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/label_credits"
app:layout_constraintVertical_bias="0" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/app_version"
android:layout_width="wrap_content"
Expand All @@ -337,7 +371,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/org_instagram"
app:layout_constraintTop_toBottomOf="@+id/credits"
app:layout_constraintVertical_bias="0"
tools:text="version 1.0" />

Expand Down
38 changes: 36 additions & 2 deletions app/src/main/res/layout/fragment_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
android:background="@null"
android:contentDescription="@null"
android:src="@drawable/ic_github"
app:tint="@color/base_theme_light_onSecondaryContainer" />
app:tint="@color/base_theme_light_onPrimaryContainer" />

<ImageButton
android:id="@+id/org_discord"
Expand Down Expand Up @@ -324,6 +324,40 @@
app:layout_constraintTop_toBottomOf="@+id/org_name"
app:layout_constraintVertical_bias="0" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/label_credits"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="25dp"
android:includeFontPadding="false"
android:text="@string/label_credits"
android:textAlignment="center"
android:textColor="@color/base_theme_light_onPrimaryContainer"
android:textFontWeight="800"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/flow2"
app:layout_constraintVertical_bias="0" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/credits"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:includeFontPadding="false"
android:lineSpacingExtra="3dp"
android:textAlignment="center"
android:textColor="@color/base_theme_light_onPrimaryContainer"
android:textFontWeight="500"
android:textSize="18sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/label_credits"
app:layout_constraintVertical_bias="0" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/app_version"
android:layout_width="wrap_content"
Expand All @@ -337,7 +371,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/org_instagram"
app:layout_constraintTop_toBottomOf="@+id/credits"
app:layout_constraintVertical_bias="0"
tools:text="version 1.0" />

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@
<string name="move_east">Move East</string>
<string name="move_south">Move South</string>
<string name="move_north">Move North</string>
<string name="label_credits">Credits</string>
</resources>

0 comments on commit 162768b

Please sign in to comment.