This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Transcribing speech to text | |
Captures and logs meeting transcripts. | |
You’ll request access to device hardware like the microphone and | |
integrate the Speech framework to transcribe live audio to text. | |
*/ | |
import AVFoundation | |
import Foundation | |
import Speech |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Circle color for number 1 --> | |
<color name="number1">#4A7BA7</color> | |
<!-- Circle color for number 2 --> | |
<color name="number2">#04B4B3</color> | |
<!-- Circle color for number 3 --> | |
<color name="number3">#F5A623</color> | |
<!-- Circle color for default case --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.asadchattha.reusedrawable; | |
import androidx.appcompat.app.AppCompatActivity; | |
import androidx.core.content.ContextCompat; | |
import android.graphics.drawable.GradientDrawable; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.TextView; | |
import android.widget.Toast; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout 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="match_parent" | |
android:gravity="center" | |
android:orientation="vertical" | |
tools:context=".MainActivity"> |